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

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

public class SpotLightChunk
extends Chunk

SpotLights to be placed in a scene. All the default parameters other than position and direction are used and not loaded from the 3ds file.


Constructor Summary
SpotLightChunk()
           
 
Method Summary
 void loadData(ChunkChopper chopper)
          This is called by the chunk chopper before any of the chunk's subchunks are loaded.
 
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

SpotLightChunk

public SpotLightChunk()
Method Detail

loadData

public void loadData(ChunkChopper chopper)
This is called by the chunk chopper before any of the chunk's subchunks are loaded. Any data loaded that may need to be used later by superchunks should be stored in the chunk chopper via ChunkChopper.popData(java.lang.Object)

Overrides:
loadData in class Chunk
Parameters:
chopper - the ChunkChopper that will have the light placed in it.


Copyright © 2000-2011 Microcrowd. All Rights Reserved.