| Package | away3d.core.traverse |
| Class | public class PartitionTraverser |
| Inheritance | PartitionTraverser Object |
| Subclasses | EntityCollector |
See also
| Property | Defined By | ||
|---|---|---|---|
| entryPoint : Vector3D [read-only]
The entry point for scene graph traversal, ie the point that will be used for traversing the graph
position-dependently. | PartitionTraverser | ||
| scene : Scene3D
The scene being traversed. | PartitionTraverser | ||
| Method | Defined By | ||
|---|---|---|---|
| PartitionTraverser | |||
applyDirectionalLight(light:DirectionalLight):void | PartitionTraverser | ||
applyEntity(entity:Entity):void
Registers an entity for use. | PartitionTraverser | ||
applyLightProbe(light:LightProbe):void | PartitionTraverser | ||
applyPointLight(light:PointLight):void | PartitionTraverser | ||
applyRenderable(renderable:IRenderable):void
Passes an IRenderable object to be processed by the traverser. | PartitionTraverser | ||
applySkyBox(renderable:IRenderable):void
Passes a skybox to be processed by the traverser. | PartitionTraverser | ||
applyUnknownLight(light:LightBase):void
Passes a light to be processed by the traverser. | PartitionTraverser | ||
Called when the traversers enters a node. | PartitionTraverser | ||
| _collectionMark | property |
arcane static var _collectionMark:uintA property that can be used to avoid processing a partition more than once.
| _entryPoint | property |
arcane var _entryPoint:Vector3D| entryPoint | property |
entryPoint:Vector3D [read-only] The entry point for scene graph traversal, ie the point that will be used for traversing the graph position-dependently. For example: BSP visibility determination or collision detection. For the EntityCollector, this is the camera's scene position for example.
public function get entryPoint():Vector3D| scene | property |
public var scene:Scene3DThe scene being traversed.
| PartitionTraverser | () | Constructor |
public function PartitionTraverser()| applyDirectionalLight | () | method |
public function applyDirectionalLight(light:DirectionalLight):voidParameters
light:DirectionalLight |
| applyEntity | () | method |
public function applyEntity(entity:Entity):voidRegisters an entity for use.
Parameters
entity:Entity |
| applyLightProbe | () | method |
| applyPointLight | () | method |
| applyRenderable | () | method |
public function applyRenderable(renderable:IRenderable):voidPasses an IRenderable object to be processed by the traverser.
Parameters
renderable:IRenderable |
| applySkyBox | () | method |
public function applySkyBox(renderable:IRenderable):voidPasses a skybox to be processed by the traverser.
Parameters
renderable:IRenderable |
| applyUnknownLight | () | method |
public function applyUnknownLight(light:LightBase):voidPasses a light to be processed by the traverser.
Parameters
light:LightBase |
| enterNode | () | method |
public function enterNode(node:NodeBase):BooleanCalled when the traversers enters a node. At minimum, it notifies the currently visited Partition3DNode whether or not further recursion is necessary.
Parameters
node:NodeBase — The currently entered node.
|
Boolean — true if further recursion down children is necessary, false if not.
|