public class ColorChunk extends Chunk
| Modifier and Type | Field and Description |
|---|---|
protected int |
currentColorType |
| Constructor and Description |
|---|
ColorChunk() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getColorType(ChunkChopper chopper)
Gets the color type for this chunk.
|
void |
loadData(ChunkChopper chopper)
Based on the color type retrieved
from
getColorType(com.microcrowd.loader.java3d.max3ds.ChunkChopper) loads
an rgb or float color and pushes
it onto the chunk chopper. |
addSubChunk, getDescription, getName, getSubChunk, initialize, setDescription, setName, toStringpublic void loadData(ChunkChopper chopper)
getColorType(com.microcrowd.loader.java3d.max3ds.ChunkChopper) loads
an rgb or float color and pushes
it onto the chunk chopper.protected int getColorType(ChunkChopper chopper)
chopper - with the information the
chunk may use to determine color typeCopyright © 2000-2013 Microcrowd. All Rights Reserved.