Package | laya.d3.core.scene |
Class | public class QuadtreeNode |
Inheritance | QuadtreeNode Object |
Implements | ITreeNode |
Property | Defined By | ||
---|---|---|---|
_children : Vector.<QuadtreeNode> | QuadtreeNode | ||
exactBox : BoundBox | QuadtreeNode | ||
exactInfiniteBox : BoundBox | QuadtreeNode | ||
relaxBox : BoundBox | QuadtreeNode | ||
relaxInfiniteBox : BoundBox | QuadtreeNode |
Method | Defined By | ||
---|---|---|---|
QuadtreeNode(scene:BaseScene, currentDepth:int) | QuadtreeNode | ||
addChild(index:int):QuadtreeNode | QuadtreeNode | ||
addNodeDown(object:RenderObject, depth:int):void | QuadtreeNode | ||
addNodeUp(object:RenderObject, depth:int):void | QuadtreeNode | ||
addObject(object:RenderObject):void | QuadtreeNode | ||
addTreeNode(renderObj:RenderObject):void | QuadtreeNode | ||
buildAllChild(depth:int):void | QuadtreeNode | ||
clearObject():void | QuadtreeNode | ||
cullingObjects(boundFrustum:BoundFrustum, testVisible:Boolean, flags:int, cameraPosition:Vector3, projectionView:Matrix4x4):void | QuadtreeNode | ||
inChildIndex(objectCenter:Vector3):int | QuadtreeNode | ||
QuadtreeNode | |||
removeObject(object:RenderObject):Boolean | QuadtreeNode | ||
renderBoudingBox(linePhasor:PhasorSpriter3D):void | QuadtreeNode | ||
updateObject(object:RenderObject):void | QuadtreeNode |
_children | property |
public var _children:Vector.<QuadtreeNode>
exactBox | property |
exactBox:BoundBox
public function get exactBox():BoundBox
public function set exactBox(value:BoundBox):void
exactInfiniteBox | property |
exactInfiniteBox:BoundBox
public function get exactInfiniteBox():BoundBox
public function set exactInfiniteBox(value:BoundBox):void
relaxBox | property |
relaxBox:BoundBox
public function get relaxBox():BoundBox
public function set relaxBox(value:BoundBox):void
relaxInfiniteBox | property |
relaxInfiniteBox:BoundBox
public function get relaxInfiniteBox():BoundBox
public function set relaxInfiniteBox(value:BoundBox):void
QuadtreeNode | () | Constructor |
public function QuadtreeNode(scene:BaseScene, currentDepth:int)
scene:BaseScene | |
currentDepth:int |
addChild | () | method |
addNodeDown | () | method |
public function addNodeDown(object:RenderObject, depth:int):void
Parameters
object:RenderObject | |
depth:int |
addNodeUp | () | method |
public function addNodeUp(object:RenderObject, depth:int):void
Parameters
object:RenderObject | |
depth:int |
addObject | () | method |
addTreeNode | () | method |
buildAllChild | () | method |
public function buildAllChild(depth:int):void
Parameters
depth:int |
clearObject | () | method |
public function clearObject():void
cullingObjects | () | method |
public function cullingObjects(boundFrustum:BoundFrustum, testVisible:Boolean, flags:int, cameraPosition:Vector3, projectionView:Matrix4x4):void
Parameters
boundFrustum:BoundFrustum | |
testVisible:Boolean | |
flags:int | |
cameraPosition:Vector3 | |
projectionView:Matrix4x4 |
inChildIndex | () | method |
init | () | method |
public function init(center:Vector3, treeSize:Vector3):void
Parameters
center:Vector3 | |
treeSize:Vector3 |
removeObject | () | method |
public function removeObject(object:RenderObject):Boolean
Parameters
object:RenderObject |
Boolean |
renderBoudingBox | () | method |
public function renderBoudingBox(linePhasor:PhasorSpriter3D):void
Parameters
linePhasor:PhasorSpriter3D |
updateObject | () | method |