Package | away3d.core.partition |
Class | public class QuadTreeNode |
Inheritance | QuadTreeNode NodeBase |
Method | Defined by | ||
---|---|---|---|
QuadTreeNode
(maxDepth:int = 5, size:Number = 10000, height:Number = 1000000, centerX:Number = 0, centerZ:Number = 0, depth:int = 0) | QuadTreeNode | ||
Allows the traverser to visit the current node.
| NodeBase | ||
Adds a node to the tree.
| NodeBase | ||
QuadTreeNode | |||
QuadTreeNode | |||
Removes a child node from the tree.
| NodeBase |
QuadTreeNode | () | constructor |
public function QuadTreeNode(maxDepth:int = 5, size:Number = 10000, height:Number = 1000000, centerX:Number = 0, centerZ:Number = 0, depth:int = 0)
Parameters
maxDepth:int (default = 5 )
|
|
size:Number (default = 10000 )
|
|
height:Number (default = 1000000 )
|
|
centerX: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 |