Package | away3d.core.partition |
Class | public class CameraNode |
Inheritance | CameraNode EntityNode NodeBase Object |
Method | Defined By | ||
---|---|---|---|
CameraNode(camera:Camera3D)
Creates a new CameraNode object. | CameraNode | ||
acceptTraverser(traverser:PartitionTraverser):void [override]
Allows the traverser to visit the current node. | CameraNode | ||
Finds the partition that contains (or should contain) the given entity. | NodeBase | ||
isInFrustum(planes:Vector.<Plane3D>, numPlanes:int):Boolean [override] | EntityNode | ||
isIntersectingRay(rayPosition:Vector3D, rayDirection:Vector3D):Boolean [override]
Tests if the current node is intersecting with a ray. | EntityNode | ||
removeFromParent():void
Detaches the node from its parent. | EntityNode |
CameraNode | () | Constructor |
public function CameraNode(camera:Camera3D)
Creates a new CameraNode object.
Parameterscamera:Camera3D — The camera 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.
|