Quadrant tree for storing drawing primitives
clip:Clipping [read-write]
Defines the clipping object to be used on the drawing primitives.
Implementation
public function get clip():Clipping
public function set clip(value:Clipping):void
maxLevel:uint [read-write]Implementation
public function get maxLevel():uint
public function set maxLevel(value:uint):void
public function add(renderItem:RenderableListItem):void
Parameters
public function getOverlaps(renderItem:RenderableListItem, ex:DisplayObject3D = null):Array
Returns an array containing all primiives overlapping the specifed primitive's quadrant.
Parameters
| renderItem:RenderableListItem — The drawing primitive to check.
|
| |
| ex:DisplayObject3D (default = null) — [optional] Excludes primitives that are children of the 3d object.
|
Returns
| Array — An array of drawing primitives.
|
public function getRoot():QuadTreeNode
Returns
public function list():Array
A list of primitives that have been clipped.
Returns
| Array — An array containing the primitives to be rendered.
|
public function remove(renderItem:RenderableListItem):void
removes a drawing primitive from the quadrant tree.
Parameters
public function render(renderSessionData:RenderSessionData, graphics:Graphics):void
Calls the render function on all primitives in the quadrant tree
Parameters
http://blog.papervision3d.org