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 : 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
Protected Properties
 PropertyDefined by
  _spriteVO : SpriteVO
Renderer
  _viewSourceObject : ViewSourceObject
Renderer
Public Methods
 MethodDefined by
  
clear():void
Renderer
  
Renderer
  
createDrawDisplayObject(spriteVO:SpriteVO, index:Number, viewSourceObject:ViewSourceObject, scale:Number):uint
Renderer
  
createDrawFog(fogVO:FogVO, clip:Clipping):uint
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
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:Array
primitiveElementsproperty 
public var primitiveElements:Array
primitiveGeneratedproperty 
public var primitiveGenerated:Array
primitiveMaterialsproperty 
public var primitiveMaterials:Array
primitivePropertiesproperty 
public var primitiveProperties:Array
primitiveScreenZproperty 
public var primitiveScreenZ:Array
primitiveSourceproperty 
public var primitiveSource:Array
primitiveTypeproperty 
public var primitiveType:Array
primitiveUVsproperty 
public var primitiveUVs:Array
_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:Number, viewSourceObject:ViewSourceObject, scale:Number):uint Parameters
spriteVO:SpriteVO
 
index:Number
 
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:Array, material:Material, startIndex:int, endIndex:int, viewSourceObject:ViewSourceObject, generated:Boolean = false):uint Parameters
segmentVO:SegmentVO
 
commands:Array
 
material:Material
 
startIndex:int
 
endIndex:int
 
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:Array, uvs:Array, material:Material, startIndex:int, endIndex:int, viewSourceObject:ViewSourceObject, area:Number = 0, generated:Boolean = false):uint Parameters
faceVO:FaceVO
 
commands:Array
 
uvs:Array
 
material:Material
 
startIndex:int
 
endIndex:int
 
viewSourceObject:ViewSourceObject
 
area:Number (default = 0)
 
generated:Boolean (default = false)

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

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