Package | away3d.core.render |
Class | public class QuadrantRenderer |
Inheritance | QuadrantRenderer Renderer |
Property | Defined by | ||
---|---|---|---|
BASIC : Renderer
[static]
Fastest and simplest renderer, useful for many applications.
| Renderer | ||
CORRECT_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 | ||
INTERSECTING_OBJECTS : Renderer
[static]
Perform triangles splitting to correctly render scenes with intersecting objects.
| Renderer | ||
primitiveCommands : Vector | Renderer | ||
primitiveElements : Vector | Renderer | ||
primitiveGenerated : Vector | Renderer | ||
primitiveMaterials : Vector | Renderer | ||
primitiveProperties : Vector | Renderer | ||
primitiveScreenZ : Vector | Renderer | ||
primitiveSource : Vector | Renderer | ||
primitiveType : Vector | Renderer | ||
primitiveUVs : Vector | Renderer |
Method | Defined by | ||
---|---|---|---|
QuadrantRenderer
(... filters)
Creates a new
QuadrantRenderer object. | QuadrantRenderer | ||
clear():void
| QuadrantRenderer | ||
QuadrantRenderer | |||
createDrawDisplayObject(spriteVO:SpriteVO, index:uint, viewSourceObject:ViewSourceObject, scale:Number):uint
| Renderer | ||
Renderer | |||
createDrawSegment(segmentVO:SegmentVO, commands:Vector, 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, uvs:Vector, 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
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 |
filters | property |
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
QuadrantRenderer | () | constructor |
public function QuadrantRenderer(... filters)
Parameters
... filters — [optional] An array of filters to use on projected drawing primitives before rendering them to screen.
|
clear | () | method |
public override function clear():void
clone | () | method |
getRivals | () | method |
public function getRivals(priIndex:uint, ex:Object3D = null):Vector
Returns an array containing all primiives overlapping the specifed primitive's quadrant.
ParameterspriIndex:uint — The drawing primitive to check.
|
|
ex:Object3D (default = null ) — [optional] Excludes primitives that are children of the 3d object.
|
Vector — An array of drawing primitives.
|
list | () | method |
public override function list():Vector
A list of primitives that have been clipped.
ReturnsVector — An array containing the primitives to be rendered.
|
primitive | () | method |
public override 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.
ParameterspriIndex:uint — The drawing primitive to remove.
|
render | () | method |
public override function render():void
toString | () | method |
public override function toString():String
Returns
String |