|
||||||||||
| 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.PercentageChunk
public class PercentageChunk
Loads percentage values from binary data representing them.
| Field Summary | |
|---|---|
static int |
FLOAT
Represents a float percentage |
static int |
INT
Represents an int percentage |
| Constructor Summary | |
|---|---|
PercentageChunk()
|
|
| Method Summary | |
|---|---|
void |
loadData(ChunkChopper chopper)
Gets tye type of percentage, reads it and sets the value on the chopper using the id of the current chunk as the key. |
| 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 |
|---|
public static final int INT
public static final int FLOAT
| Constructor Detail |
|---|
public PercentageChunk()
| Method Detail |
|---|
public void loadData(ChunkChopper chopper)
loadData in class Chunkchopper - may contain data loaded by subchunks.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||