|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.microcrowd.loader.java3d.max3ds.chunks.Chunk
com.microcrowd.loader.java3d.max3ds.chunks.ColorChunk
public class ColorChunk
Loads colors from binary data representing them.
| Field Summary | |
|---|---|
protected int |
currentColorType
|
| Constructor Summary | |
|---|---|
ColorChunk()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.microcrowd.loader.java3d.max3ds.chunks.Chunk |
|---|
addSubChunk, getDescription, getName, getSubChunk, initialize, setDescription, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int currentColorType
| Constructor Detail |
|---|
public ColorChunk()
| Method Detail |
|---|
public void loadData(ChunkChopper chopper)
getColorType(com.microcrowd.loader.java3d.max3ds.ChunkChopper) loads
an rgb or float color and pushes
it onto the chunk chopper.
loadData in class Chunkchopper - the chopper that will store the color data.protected int getColorType(ChunkChopper chopper)
chopper - with the information the
chunk may use to determine color type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||