Package | away3d.core.partition |
Class | public class PointLightNode |
Inheritance | PointLightNode EntityNode NodeBase Object |
Property | Defined By | ||
---|---|---|---|
entity : Entity [read-only]
The entity contained in this leaf node. | EntityNode | ||
light : PointLight [read-only]
The light object contained in this node. | PointLightNode | ||
parent : NodeBase [read-only]
The parent node. | NodeBase | ||
showDebugBounds : Boolean | NodeBase |
Method | Defined By | ||
---|---|---|---|
PointLightNode(light:PointLight)
Creates a new LightNode object. | PointLightNode | ||
acceptTraverser(traverser:PartitionTraverser):void [override]
Allows the traverser to visit the current node. | PointLightNode | ||
Adds a node to the tree. | NodeBase | ||
Finds the partition that contains (or should contain) the given entity. | NodeBase | ||
isInFrustum(camera:Camera3D):Boolean [override]
Tests if the current node is at least partly inside the frustum. | EntityNode | ||
removeFromParent():void
Detaches the node from its parent. | EntityNode | ||
removeNode(node:NodeBase):void
Removes a child node from the tree. | NodeBase |
light | property |
light:PointLight
[read-only] The light object contained in this node.
public function get light():PointLight
PointLightNode | () | Constructor |
public function PointLightNode(light:PointLight)
Creates a new LightNode object.
Parameterslight:PointLight — The light to be contained in the node.
|
acceptTraverser | () | method |
override public function acceptTraverser(traverser:PartitionTraverser):void
Allows the traverser to visit the current node. If the traverser's enterNode method returns true, the traverser will be sent down the child nodes of the tree. This method should be overridden if the order of traversal is important (such as for BSP trees) - or if static child nodes are not added using addNode, but are linked to separately.
Parameters
traverser:PartitionTraverser — The traverser visiting the node.
|