Package | away3d.core.render |
Class | public class QuadrantRenderer |
Inheritance | QuadrantRenderer Renderer Object |
Property | Defined By | ||
---|---|---|---|
BASIC : Renderer [static] [read-only]
Fastest and simplest renderer, useful for many applications. | Renderer | ||
CORRECT_Z_ORDER : Renderer [static] [read-only] 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 | ||
INTERSECTING_OBJECTS : Renderer [static] [read-only]
Perform triangles splitting to correctly render scenes with intersecting objects. | Renderer | ||
primitiveCommands : Vector.<Vector.<String>> | Renderer | ||
primitiveElements : Vector.<ElementVO> | Renderer | ||
primitiveGenerated : Vector.<Boolean> | Renderer | ||
primitiveMaterials : Vector.<Material> | Renderer | ||
primitiveProperties : Vector.<Number> | Renderer | ||
primitiveScreenZ : Vector.<Number> | Renderer | ||
primitiveSource : Vector.<ViewSourceObject> | Renderer | ||
primitiveType : Vector.<uint> | Renderer | ||
primitiveUVs : Vector.<UV> | Renderer |
Method | Defined By | ||
---|---|---|---|
QuadrantRenderer(... filters)
Creates a new QuadrantRenderer object. | QuadrantRenderer | ||
clear():void [override] | QuadrantRenderer | ||
[override] | QuadrantRenderer | ||
createDrawDisplayObject(spriteVO:SpriteVO, index:uint, viewSourceObject:ViewSourceObject, scale:Number):uint | Renderer | ||
Renderer | |||
createDrawSegment(segmentVO:SegmentVO, commands:Vector.<String>, material:Material, startIndex:uint, endIndex:uint, viewSourceObject:ViewSourceObject, generated:Boolean = false):uint | Renderer | ||
createDrawSprite(spriteVO:SpriteVO, material:Material, index:uint, viewSourceObject:ViewSourceObject, scale:Number):uint | Renderer | ||
createDrawTriangle(faceVO:FaceVO, commands:Vector.<String>, uvs:Vector.<UV>, material:Material, startIndex:uint, endIndex:uint, viewSourceObject:ViewSourceObject, area:Number = 0, generated:Boolean = false):uint | Renderer | ||
Returns an array containing all primiives overlapping the specifed primitive's quadrant. | QuadrantRenderer | ||
list():Vector.<uint> [override]
A list of primitives that have been clipped. | QuadrantRenderer | ||
primitive(priIndex:uint):Boolean [override]
| QuadrantRenderer | ||
remove(priIndex:uint):void
removes a drawing primitive from the quadrant tree. | QuadrantRenderer | ||
render():void [override] | QuadrantRenderer | ||
toString():String [override]
| QuadrantRenderer |
filters | property |
filters:Array
Defines the array of filters to be used on the drawing primitives.
public function get filters():Array
public function set filters(value:Array):void
QuadrantRenderer | () | Constructor |
public function QuadrantRenderer(... filters)
Creates a new QuadrantRenderer
object.
... filters — [optional] An array of filters to use on projected drawing primitives before rendering them to screen.
|
clear | () | method |
override public function clear():void
clone | () | method |
getRivals | () | method |
public function getRivals(priIndex:uint, ex:Object3D = null):Vector.<uint>
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.
|
Vector.<uint> — An array of drawing primitives.
|
list | () | method |
override public function list():Vector.<uint>
A list of primitives that have been clipped.
ReturnsVector.<uint> — An array containing the primitives to be rendered.
|
primitive | () | method |
override public function primitive(priIndex:uint):Boolean
Parameters
priIndex:uint |
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 |
override public function render():void
toString | () | method |
override public function toString():String
Returns
String |