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