Package | away3d.core.partition |
Class | public class OctreeNode |
Inheritance | OctreeNode NodeBase |
Method | Defined by | ||
---|---|---|---|
OctreeNode
(maxDepth:int = 5, size:Number = 10000, centerX:Number = 0, centerY:Number = 0, centerZ:Number = 0, depth:int = 0) | OctreeNode | ||
Allows the traverser to visit the current node.
| NodeBase | ||
Adds a node to the tree.
| NodeBase | ||
OctreeNode | |||
OctreeNode | |||
Removes a child node from the tree.
| NodeBase |
OctreeNode | () | constructor |
public function OctreeNode(maxDepth:int = 5, size:Number = 10000, centerX:Number = 0, centerY:Number = 0, centerZ:Number = 0, depth:int = 0)
Parameters
maxDepth:int (default = 5 )
|
|
size:Number (default = 10000 )
|
|
centerX:Number (default = 0 )
|
|
centerY:Number (default = 0 )
|
|
centerZ:Number (default = 0 )
|
|
depth:int (default = 0 )
|
findPartitionForEntity | () | method |
public override function findPartitionForEntity(entity:Entity):NodeBase
Parameters
entity:Entity |
NodeBase |
isInFrustum | () | method |
public override function isInFrustum(camera:Camera3D):Boolean
Parameters
camera:Camera3D |
Boolean |