Packageaway3d.core.render
Classpublic class BSPRenderer
InheritanceBSPRenderer Inheritance Renderer

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] Fastest and simplest renderer, useful for many applications.
Renderer
 InheritedCORRECT_Z_ORDER : Renderer
[static] 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] Perform triangles splitting to correctly render scenes with intersecting objects.
Renderer
 InheritedprimitiveCommands : Array
Renderer
 InheritedprimitiveElements : Array
Renderer
 InheritedprimitiveGenerated : Array
Renderer
 InheritedprimitiveMaterials : Array
Renderer
 InheritedprimitiveProperties : Array
Renderer
 InheritedprimitiveScreenZ : Array
Renderer
 InheritedprimitiveSource : Array
Renderer
 InheritedprimitiveType : Array
Renderer
 InheritedprimitiveUVs : Array
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
BSPRenderer
  
BSPRenderer
 Inherited
createDrawDisplayObject(spriteVO:SpriteVO, index:Number, viewSourceObject:ViewSourceObject, scale:Number):uint
Renderer
 Inherited
createDrawFog(fogVO:FogVO, clip:Clipping):uint
Renderer
 Inherited
createDrawSegment(segmentVO:SegmentVO, commands:Array, material:Material, startIndex:int, endIndex:int, 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:Array, uvs:Array, material:Material, startIndex:int, endIndex:int, viewSourceObject:ViewSourceObject, area:Number = 0, generated:Boolean = false):uint
Renderer
  
list():Array
A list of primitives that have been clipped and blocked.
BSPRenderer
  
primitive(priIndex:uint):Boolean
BSPRenderer
  
render():void
BSPRenderer
  
toString():String
BSPRenderer
Property detail
filtersproperty
filters:Array  [read-write]

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)Parameters
... filters
Init Parameters
Method detail
clear()method
public override function clear():void
clone()method 
public override function clone():Renderer

Returns
Renderer
list()method 
public override function list():Array

A list of primitives that have been clipped and blocked.

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

Parameters
priIndex:uint

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

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

Code examples

Comments