Package | away3d.core.render |
Class | public class Renderer |
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 | 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 |
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, 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
| Renderer | ||
primitive(priIndex:uint):Boolean
| Renderer | ||
render():void
| Renderer | ||
toString():String
| Renderer |
BASIC | property |
BASIC:Renderer
[read-only]Fastest and simplest renderer, useful for many applications.
Implementation 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.
Implementation 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.
Implementation public static function get INTERSECTING_OBJECTS():Renderer
See also
primitiveCommands | property |
public var primitiveCommands:Vector
primitiveElements | property |
public var primitiveElements:Vector
primitiveGenerated | property |
public var primitiveGenerated:Vector
primitiveMaterials | property |
public var primitiveMaterials:Vector
primitiveProperties | property |
public var primitiveProperties:Vector
primitiveScreenZ | property |
public var primitiveScreenZ:Vector
primitiveSource | property |
public var primitiveSource:Vector
primitiveType | property |
public var primitiveType:Vector
primitiveUVs | property |
public var primitiveUVs:Vector
_spriteVO | property |
protected var _spriteVO:SpriteVO
_viewSourceObject | property |
protected var _viewSourceObject:ViewSourceObject
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, material:Material, startIndex:uint, endIndex:uint, viewSourceObject:ViewSourceObject, generated:Boolean = false):uint
Parameters
segmentVO:SegmentVO |
|
commands:Vector |
|
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, uvs:Vector, material:Material, startIndex:uint, endIndex:uint, viewSourceObject:ViewSourceObject, area:Number = 0, generated:Boolean = false):uint
Parameters
faceVO:FaceVO |
|
commands:Vector |
|
uvs:Vector |
|
material:Material |
|
startIndex:uint |
|
endIndex:uint |
|
viewSourceObject:ViewSourceObject |
|
area:Number (default = 0 )
|
|
generated:Boolean (default = false )
|
uint |
list | () | method |
public function list():Vector
Returns
Vector |
primitive | () | method |
public function primitive(priIndex:uint):Boolean
Parameters
priIndex:uint |
Boolean |
render | () | method |
public function render():void
toString | () | method |
public function toString():String
Returns
String |