| Package | away3d.core.partition |
| Class | public class Partition3D |
| Inheritance | Partition3D Object |
| Subclasses | Octree, QuadTree |
| Property | Defined By | ||
|---|---|---|---|
| showDebugBounds : Boolean | Partition3D | ||
| Method | Defined By | ||
|---|---|---|---|
Partition3D(rootNode:NodeBase)
Creates a new Partition3D object. | Partition3D | ||
traverse(traverser:PartitionTraverser):void
Sends a traverser through the partition tree. | Partition3D | ||
| showDebugBounds | property |
showDebugBounds:Boolean public function get showDebugBounds():Boolean public function set showDebugBounds(value:Boolean):void| Partition3D | () | Constructor |
public function Partition3D(rootNode:NodeBase)Creates a new Partition3D object.
ParametersrootNode:NodeBase — The root node of the space partition system. This will indicate which type of data structure will be used.
|
| markForUpdate | () | method |
arcane function markForUpdate(entity:Entity):voidMark a scene graph entity for updating. This will trigger a reassignment within the tree, based on the object's bounding box, upon the next traversal.
Parameters
entity:Entity — The entity to be updated in the tree.
|
| removeEntity | () | method |
arcane function removeEntity(entity:Entity):voidRemoves an entity from the partition tree.
Parameters
entity:Entity — The entity to be removed.
|
| traverse | () | method |
public function traverse(traverser:PartitionTraverser):voidSends a traverser through the partition tree.
Parameters
traverser:PartitionTraverser |
See also