PartitionTraverser
PartitionTraverser is a hierarchical visitor pattern that traverses through a Partition3D data structure.
Created PartitionTraverser object has properties:
|
entryPoint |
[read-only] The entry point for scene graph traversal, ie the point that will be used for traversing the graph position-dependently. (Vector3D) |
|
scene |
The scene being traversed. (Scene3D) |
methods:
|
applyDirectionalLight(light) |
|
light - (DirectionalLight) |
|
applyEntity(entity) |
Registers an entity for use. |
entity - (Entity) |
|
applyLightProbe(light) |
|
light - (LightProbe) |
|
applyPointLight(light) |
|
light - (PointLight) |
|
applyRenderable(renderable) |
Passes an IRenderable object to be processed by the traverser. |
renderable - IRenderable (SegmentSet, SkyBox, Sprite3D, SubMesh) |
|
applySkyBox(renderable) |
Passes a skybox to be processed by the traverser. |
renderable - IRenderable (SegmentSet, SkyBox, Sprite3D, SubMesh) |
|
applyUnknownLight(light) |
Passes a light to be processed by the traverser. |
light - (LightBase) |
|
enterNode(node) |
Called when the traversers enters a node. Return Boolean |
node - The currently entered node. (NodeBase) |
Created with the Personal Edition of HelpNDoc: Free Kindle producer