Packageaway3d.core.render
Classpublic class Renderer
SubclassesBasicRenderer, BSPRenderer, QuadrantRenderer

A static class for an easy access to the most useful renderers.

Public Properties
 PropertyDefined 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
Protected Properties
 PropertyDefined by
  _spriteVO : SpriteVO
Renderer
  _viewSourceObject : ViewSourceObject
Renderer
Public Methods
 MethodDefined by
  
clear():void
Renderer
  
Renderer
  
createDrawDisplayObject(spriteVO:SpriteVO, index:uint, viewSourceObject:ViewSourceObject, scale:Number):uint
Renderer
  
createDrawFog(fogVO:FogVO, clip:Clipping):uint
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
Property detail
BASICproperty
BASIC:Renderer  [read-only]

Fastest and simplest renderer, useful for many applications.

Implementation
    public static function get BASIC():Renderer

See also

CORRECT_Z_ORDERproperty 
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

away3d.core.render.QuadrantRenderer
away3d.core.render.AnotherRivalFilter
INTERSECTING_OBJECTSproperty 
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

away3d.core.render.QuadrantRenderer
away3d.core.render.QuadrantRiddleFilter
away3d.core.render.AnotherRivalFilter
primitiveCommandsproperty 
public var primitiveCommands:Vector
primitiveElementsproperty 
public var primitiveElements:Vector
primitiveGeneratedproperty 
public var primitiveGenerated:Vector
primitiveMaterialsproperty 
public var primitiveMaterials:Vector
primitivePropertiesproperty 
public var primitiveProperties:Vector
primitiveScreenZproperty 
public var primitiveScreenZ:Vector
primitiveSourceproperty 
public var primitiveSource:Vector
primitiveTypeproperty 
public var primitiveType:Vector
primitiveUVsproperty 
public var primitiveUVs:Vector
_spriteVOproperty 
protected var _spriteVO:SpriteVO
_viewSourceObjectproperty 
protected var _viewSourceObject:ViewSourceObject
Method detail
clear()method
public function clear():void
clone()method 
public function clone():Renderer

Returns
Renderer
createDrawDisplayObject()method 
public function createDrawDisplayObject(spriteVO:SpriteVO, index:uint, viewSourceObject:ViewSourceObject, scale:Number):uint Parameters
spriteVO:SpriteVO
 
index:uint
 
viewSourceObject:ViewSourceObject
 
scale:Number

Returns
uint
createDrawFog()method 
public function createDrawFog(fogVO:FogVO, clip:Clipping):uint Parameters
fogVO:FogVO
 
clip:Clipping

Returns
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)

Returns
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

Returns
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)

Returns
uint
list()method 
public function list():Vector

Returns
Vector
primitive()method 
public function primitive(priIndex:uint):Boolean Parameters
priIndex:uint

Returns
Boolean
render()method 
public function render():void
toString()method 
public function toString():String

Returns
String
Wiki link
Click to go to the wiki page for 'away3d.core.render.Renderer'

Code examples

Comments