|
||||||||||
| 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.LightChunk
public class LightChunk
Lights to be placed in a scene. Only point lights and target spot lights are supported. All the default parameters are used for lights as well. Only position is specified.
| Constructor Summary | |
|---|---|
LightChunk()
|
|
| Method Summary | |
|---|---|
void |
initialize(ChunkChopper chopper)
Gets the data put into the chopper by the subchunks and creates a light, adding it to the scene as a named object. |
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, setDescription, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LightChunk()
| Method Detail |
|---|
public void loadData(ChunkChopper chopper)
ChunkChopper.pushData(java.lang.Object, java.lang.Object)
loadData in class Chunkchopper - used to store the position of the light.public void initialize(ChunkChopper chopper)
initialize in class Chunkchopper - the ChunkChopper containing sub chunk data.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||