Package | away3d.core.render |
Class | public class Renderer |
Inheritance | Renderer Object |
Subclasses | BasicRenderer, BSPRenderer, QuadrantRenderer |
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 | ||
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 |
Property | Defined By | ||
---|---|---|---|
_spriteVO : SpriteVO | Renderer | ||
_viewSourceObject : ViewSourceObject | Renderer |
Method | Defined By | ||
---|---|---|---|
clear():void | Renderer | ||
Renderer | |||
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> | Renderer | ||
primitive(priIndex:uint):Boolean | Renderer | ||
render():void | Renderer | ||
toString():String | Renderer |
_spriteVO | property |
protected var _spriteVO:SpriteVO
_viewSourceObject | property |
protected var _viewSourceObject:ViewSourceObject
BASIC | property |
BASIC:Renderer
[read-only] Fastest and simplest renderer, useful for many applications.
public static function get BASIC():Renderer
See also
CORRECT_Z_ORDER | property |
CORRECT_Z_ORDER:Renderer
[read-only] Perform reordering of triangles after sorting to guarantee their correct rendering.
public static function get CORRECT_Z_ORDER():Renderer
See also
INTERSECTING_OBJECTS | property |
INTERSECTING_OBJECTS:Renderer
[read-only] Perform triangles splitting to correctly render scenes with intersecting objects.
public static function get INTERSECTING_OBJECTS():Renderer
See also
primitiveCommands | property |
public var primitiveCommands:Vector.<Vector.<String>>
primitiveElements | property |
public var primitiveElements:Vector.<ElementVO>
primitiveGenerated | property |
public var primitiveGenerated:Vector.<Boolean>
primitiveMaterials | property |
public var primitiveMaterials:Vector.<Material>
primitiveProperties | property |
public var primitiveProperties:Vector.<Number>
primitiveScreenZ | property |
public var primitiveScreenZ:Vector.<Number>
primitiveSource | property |
public var primitiveSource:Vector.<ViewSourceObject>
primitiveType | property |
public var primitiveType:Vector.<uint>
primitiveUVs | property |
public var primitiveUVs:Vector.<UV>
clear | () | method |
public function clear():void
clone | () | method |
createDrawDisplayObject | () | method |
public function createDrawDisplayObject(spriteVO:SpriteVO, index:uint, viewSourceObject:ViewSourceObject, scale:Number):uint
Parameters
spriteVO:SpriteVO | |
index:uint | |
viewSourceObject:ViewSourceObject | |
scale:Number |
uint |
createDrawFog | () | method |
public function createDrawFog(fogVO:FogVO, clip:Clipping):uint
Parameters
fogVO:FogVO | |
clip:Clipping |
uint |
createDrawSegment | () | method |
public function createDrawSegment(segmentVO:SegmentVO, commands:Vector.<String>, material:Material, startIndex:uint, endIndex:uint, viewSourceObject:ViewSourceObject, generated:Boolean = false):uint
Parameters
segmentVO:SegmentVO | |
commands:Vector.<String> | |
material:Material | |
startIndex:uint | |
endIndex:uint | |
viewSourceObject:ViewSourceObject | |
generated:Boolean (default = false )
|
uint |
createDrawSprite | () | method |
public function createDrawSprite(spriteVO:SpriteVO, material:Material, index:uint, viewSourceObject:ViewSourceObject, scale:Number):uint
Parameters
spriteVO:SpriteVO | |
material:Material | |
index:uint | |
viewSourceObject:ViewSourceObject | |
scale:Number |
uint |
createDrawTriangle | () | method |
public function createDrawTriangle(faceVO:FaceVO, commands:Vector.<String>, uvs:Vector.<UV>, material:Material, startIndex:uint, endIndex:uint, viewSourceObject:ViewSourceObject, area:Number = 0, generated:Boolean = false):uint
Parameters
faceVO:FaceVO | |
commands:Vector.<String> | |
uvs:Vector.<UV> | |
material:Material | |
startIndex:uint | |
endIndex:uint | |
viewSourceObject:ViewSourceObject | |
area:Number (default = 0 )
| |
generated:Boolean (default = false )
|
uint |
list | () | method |
public function list():Vector.<uint>
ReturnsVector.<uint> |
primitive | () | method |
public function primitive(priIndex:uint):Boolean
Parameters
priIndex:uint |
Boolean |
render | () | method |
public function render():void
toString | () | method |
public function toString():String
ReturnsString |