Package | away3d.core.render |
Class | public class BasicRenderer |
Inheritance | BasicRenderer 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. | BasicRenderer | ||
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 | ||
---|---|---|---|
BasicRenderer(... filters)
Creates a new BasicRenderer object. | BasicRenderer | ||
clear():void [override] | BasicRenderer | ||
[override] | BasicRenderer | ||
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 | ||
list():Vector.<uint> [override]
A list of primitives that have been clipped and blocked. | BasicRenderer | ||
primitive(priIndex:uint):Boolean [override]
| BasicRenderer | ||
render():void [override] | BasicRenderer | ||
toString():String [override]
| BasicRenderer |
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
BasicRenderer | () | Constructor |
public function BasicRenderer(... filters)
Creates a new BasicRenderer
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 |
list | () | method |
override public function list():Vector.<uint>
A list of primitives that have been clipped and blocked.
ReturnsVector.<uint> — An array containing the primitives to be rendered.
|
primitive | () | method |
override public function primitive(priIndex:uint):Boolean
Parameters
priIndex:uint |
Boolean |
render | () | method |
override public function render():void
toString | () | method |
override public function toString():String
Returns
String |