Package | away3d.core.render |
Class | public class QuadrantRenderer |
Inheritance | QuadrantRenderer ![]() |
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 : Array | Renderer | |
![]() | primitiveElements : Array | Renderer | |
![]() | primitiveGenerated : Array | Renderer | |
![]() | primitiveMaterials : Array | Renderer | |
![]() | primitiveProperties : Array | Renderer | |
![]() | primitiveScreenZ : Array | Renderer | |
![]() | primitiveSource : Array | Renderer | |
![]() | primitiveType : Array | Renderer | |
![]() | primitiveUVs : Array | Renderer |
Method | Defined by | ||
---|---|---|---|
QuadrantRenderer
(... filters)
Creates a new
QuadrantRenderer object. | QuadrantRenderer | ||
clear():void
| QuadrantRenderer | ||
QuadrantRenderer | |||
![]() |
createDrawDisplayObject(spriteVO:SpriteVO, index:Number, viewSourceObject:ViewSourceObject, scale:Number):uint
| Renderer | |
![]() | Renderer | ||
![]() |
createDrawSegment(segmentVO:SegmentVO, commands:Array, material:Material, startIndex:int, endIndex:int, viewSourceObject:ViewSourceObject, generated:Boolean = false):uint
| Renderer | |
![]() |
createDrawSprite(spriteVO:SpriteVO, material:Material, index:uint, viewSourceObject:ViewSourceObject, scale:Number):uint
| Renderer | |
![]() |
createDrawTriangle(faceVO:FaceVO, commands:Array, uvs:Array, material:Material, startIndex:int, endIndex:int, viewSourceObject:ViewSourceObject, area:Number = 0, generated:Boolean = false):uint
| Renderer | |
Returns an array containing all primiives overlapping the specifed primitive's quadrant.
| QuadrantRenderer | ||
list():Array
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):Array
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.
|
Array — An array of drawing primitives.
|
list | () | method |
public override function list():Array
A list of primitives that have been clipped.
ReturnsArray — 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 |