Packageaway3d.core.render
Classpublic class BSPRenderer
InheritanceBSPRenderer Inheritance Renderer Inheritance Object

BSP renderer for a view. Should not be used directly, it's used automatically in the BSPTree class



Public Properties
 PropertyDefined By
 InheritedBASIC : Renderer
[static] [read-only] Fastest and simplest renderer, useful for many applications.
Renderer
 InheritedCORRECT_Z_ORDER : Renderer
[static] [read-only] 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.
BSPRenderer
 InheritedINTERSECTING_OBJECTS : Renderer
[static] [read-only] Perform triangles splitting to correctly render scenes with intersecting objects.
Renderer
 InheritedprimitiveCommands : Vector.<Vector.<String>>
Renderer
 InheritedprimitiveElements : Vector.<ElementVO>
Renderer
 InheritedprimitiveGenerated : Vector.<Boolean>
Renderer
 InheritedprimitiveMaterials : Vector.<Material>
Renderer
 InheritedprimitiveProperties : Vector.<Number>
Renderer
 InheritedprimitiveScreenZ : Vector.<Number>
Renderer
 InheritedprimitiveSource : Vector.<ViewSourceObject>
Renderer
 InheritedprimitiveType : Vector.<uint>
Renderer
 InheritedprimitiveUVs : Vector.<UV>
Renderer
Protected Properties
 PropertyDefined By
 Inherited_spriteVO : SpriteVO
Renderer
 Inherited_viewSourceObject : ViewSourceObject
Renderer
Public Methods
 MethodDefined By
  
BSPRenderer(... filters)
Creates a new BSPRenderer object.
BSPRenderer
  
clear():void
[override]
BSPRenderer
  
[override]
BSPRenderer
 Inherited
createDrawDisplayObject(spriteVO:SpriteVO, index:uint, viewSourceObject:ViewSourceObject, scale:Number):uint
Renderer
 Inherited
createDrawFog(fogVO:FogVO, clip:Clipping):uint
Renderer
 Inherited
createDrawSegment(segmentVO:SegmentVO, commands:Vector.<String>, material:Material, startIndex:uint, endIndex:uint, viewSourceObject:ViewSourceObject, generated:Boolean = false):uint
Renderer
 Inherited
createDrawSprite(spriteVO:SpriteVO, material:Material, index:uint, viewSourceObject:ViewSourceObject, scale:Number):uint
Renderer
 Inherited
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>
[override] A list of primitives that have been clipped and blocked.
BSPRenderer
  
primitive(priIndex:uint):Boolean
[override]
BSPRenderer
  
render():void
[override]
BSPRenderer
  
toString():String
[override]
BSPRenderer
Property Detail
filtersproperty
filters:Array

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
Constructor Detail
BSPRenderer()Constructor
public function BSPRenderer(... filters)

Creates a new BSPRenderer object.

Parameters
... filters
####INIT####
Method Detail
clear()method
override public function clear():void

clone()method 
override public function clone():Renderer

Returns
Renderer
list()method 
override public function list():Vector.<uint>

A list of primitives that have been clipped and blocked.

Returns
Vector.<uint> — An array containing the primitives to be rendered.
primitive()method 
override public function primitive(priIndex:uint):Boolean

Parameters

priIndex:uint

Returns
Boolean
render()method 
override public function render():void

toString()method 
override public function toString():String

Returns
String