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 : 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 | ||
---|---|---|---|
BasicRenderer
(... filters)
Creates a new
BasicRenderer object. | BasicRenderer | ||
clear():void
| BasicRenderer | ||
BasicRenderer | |||
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 | ||
list():Vector
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():Vector
A list of primitives that have been clipped and blocked.
ReturnsVector — 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 |