Renderer that uses quadrant tree for storing and operating drawing primitives. Quadrant tree speeds up all proximity based calculations.
filters:Array
[read-write]
Defines the array of filters to be used on the drawing primitives.
Implementation
public function get filters():Array
public function set filters(value:Array):void
public function QuadrantRenderer(... filters)
Parameters
| ... filters — [optional] An array of filters to use on projected drawing primitives before rendering them to screen.
|
Init Parameters
public function clear(view:View3D):void
Parameters
public function clone():IPrimitiveConsumer
Returns
public function get(pri:DrawPrimitive, ex:Object3D = null):Array
Returns an array containing all primiives overlapping the specifed primitive's quadrant.
Parameters
| pri:DrawPrimitive — The drawing primitive to check.
|
|
| ex:Object3D (default = null ) — [optional] Excludes primitives that are children of the 3d object.
|
Returns
| Array — An array of drawing primitives.
|
public function list():Array
A list of primitives that have been clipped.
Returns
| Array — An array containing the primitives to be rendered.
|
public function primitive(pri:DrawPrimitive):Boolean
Adds a drawing primitive to the primitive consumer
Parameters
Returns
| Boolean — Whether the primitive was added.
|
public function remove(pri:DrawPrimitive):void
removes a drawing primitive from the quadrant tree.
Parameters
public function render(view:View3D):void
Parameters
public function toString():String
Used to trace the values of a renderer.
Returns
| String — A string representation of the renderer object.
|