com.microcrowd.loader.java3d.max3ds.chunks
Class PercentageChunk

java.lang.Object
  extended by com.microcrowd.loader.java3d.max3ds.chunks.Chunk
      extended by com.microcrowd.loader.java3d.max3ds.chunks.PercentageChunk

public class PercentageChunk
extends Chunk

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

INT

public static final int INT
Represents an int percentage

See Also:
Constant Field Values

FLOAT

public static final int FLOAT
Represents a float percentage

See Also:
Constant Field Values
Constructor Detail

PercentageChunk

public PercentageChunk()
Method Detail

loadData

public 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.

Overrides:
loadData in class Chunk
Parameters:
chopper - may contain data loaded by subchunks.


Copyright © 2000-2011 Microcrowd. All Rights Reserved.