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

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

public class GlobalColorChunk
extends ColorChunk

Loads colors from binary data representing them. Its a global in the manner that it reads its own header information.


Field Summary
 
Fields inherited from class com.microcrowd.loader.java3d.max3ds.chunks.ColorChunk
currentColorType
 
Constructor Summary
GlobalColorChunk()
           
 
Method Summary
protected  int getColorType(ChunkChopper chopper)
          Gets the color type for this chunk.
 
Methods inherited from class com.microcrowd.loader.java3d.max3ds.chunks.ColorChunk
loadData
 
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
 

Constructor Detail

GlobalColorChunk

public GlobalColorChunk()
Method Detail

getColorType

protected int getColorType(ChunkChopper chopper)
Gets the color type for this chunk.

Overrides:
getColorType in class ColorChunk
Parameters:
chopper - with the information the chunk may use to determine color type
Returns:
the color type for the chunk.


Copyright © 2000-2011 Microcrowd. All Rights Reserved.