Packageaway3d.core.render
Classpublic class QuadrantRenderer
InheritanceQuadrantRenderer Inheritance Renderer

Renderer that uses quadrant tree for storing and operating drawing primitives. Quadrant tree speeds up all proximity based calculations.

Public Properties
 PropertyDefined by
 InheritedBASIC : Renderer
[static] Fastest and simplest renderer, useful for many applications.
Renderer
 InheritedCORRECT_Z_ORDER : Renderer
[static] Perform reordering of triangles after sorting to guarantee their correct rendering.
Renderer
  filters : Array
Defines the array of filters to be used on the drawing primitives.
QuadrantRenderer
 InheritedINTERSECTING_OBJECTS : Renderer
[static] Perform triangles splitting to correctly render scenes with intersecting objects.
Renderer
 InheritedprimitiveCommands : Vector
Renderer
 InheritedprimitiveElements : Vector
Renderer
 InheritedprimitiveGenerated : Vector
Renderer
 InheritedprimitiveMaterials : Vector
Renderer
 InheritedprimitiveProperties : Vector
Renderer
 InheritedprimitiveScreenZ : Vector
Renderer
 InheritedprimitiveSource : Vector
Renderer
 InheritedprimitiveType : Vector
Renderer
 InheritedprimitiveUVs : Vector
Renderer
Protected Properties
 PropertyDefined by
 Inherited_spriteVO : SpriteVO
Renderer
 Inherited_viewSourceObject : ViewSourceObject
Renderer
Public Methods
 MethodDefined by
  
QuadrantRenderer
(... filters)
Creates a new QuadrantRenderer object.
QuadrantRenderer
  
clear():void
QuadrantRenderer
  
QuadrantRenderer
 Inherited
createDrawDisplayObject(spriteVO:SpriteVO, index:uint, viewSourceObject:ViewSourceObject, scale:Number):uint
Renderer
 Inherited
createDrawFog(fogVO:FogVO, clip:Clipping):uint
Renderer
 Inherited
createDrawSegment(segmentVO:SegmentVO, commands:Vector, material:Material, startIndex:uint, endIndex:uint, viewSourceObject:ViewSourceObject, generated:Boolean = false):uint
Renderer
 Inherited
createDrawSprite(spriteVO:SpriteVO, material:Material, index:uint, viewSourceObject:ViewSourceObject, scale:Number):uint
Renderer
 Inherited
createDrawTriangle(faceVO:FaceVO, commands:Vector, uvs:Vector, material:Material, startIndex:uint, endIndex:uint, viewSourceObject:ViewSourceObject, area:Number = 0, generated:Boolean = false):uint
Renderer
  
getRivals(priIndex:uint, ex:Object3D = null):Vector
Returns an array containing all primiives overlapping the specifed primitive's quadrant.
QuadrantRenderer
  
list():Vector
A list of primitives that have been clipped.
QuadrantRenderer
  
primitive(priIndex:uint):Boolean
QuadrantRenderer
  
remove(priIndex:uint):void
removes a drawing primitive from the quadrant tree.
QuadrantRenderer
  
render():void
QuadrantRenderer
  
toString():String
QuadrantRenderer
Property detail
filtersproperty
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
Constructor detail
QuadrantRenderer()constructor
public function QuadrantRenderer(... filters)Parameters
... filters — [optional] An array of filters to use on projected drawing primitives before rendering them to screen.
Init Parameters
Method detail
clear()method
public override function clear():void
clone()method 
public override function clone():Renderer

Returns
Renderer
getRivals()method 
public function getRivals(priIndex:uint, ex:Object3D = null):Vector

Returns an array containing all primiives overlapping the specifed primitive's quadrant.

Parameters
priIndex:uint — The drawing primitive to check.
 
ex:Object3D (default = null) — [optional] Excludes primitives that are children of the 3d object.

Returns
Vector — An array of drawing primitives.
list()method 
public override function list():Vector

A list of primitives that have been clipped.

Returns
Vector — An array containing the primitives to be rendered.
primitive()method 
public override function primitive(priIndex:uint):Boolean

Parameters
priIndex:uint

Returns
Boolean
remove()method 
public function remove(priIndex:uint):void

removes a drawing primitive from the quadrant tree.

Parameters
priIndex:uint — The drawing primitive to remove.
render()method 
public override function render():void
toString()method 
public override function toString():String

Returns
String
Wiki link
Click to go to the wiki page for 'away3d.core.render.QuadrantRenderer'

Code examples

Comments