Packageaway3d.core.render
Classpublic class BSPRenderer
ImplementsIPrimitiveConsumer, IRenderer

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

Public Properties
 PropertyDefined by
  filters : Array
Defines the array of filters to be used on the drawing primitives.
BSPRenderer
Public Methods
 MethodDefined by
  
BSPRenderer
(... filters)
Creates a new BSPRenderer object.
BSPRenderer
  
clear(view:View3D):void
BSPRenderer
  
BSPRenderer
  
list():Array
A list of primitives that have been clipped and blocked.
BSPRenderer
  
primitive(pri:DrawPrimitive):Boolean
Adds a drawing primitive to the primitive consumer
BSPRenderer
  
render(view:View3D):void
BSPRenderer
  
toString():String
Used to trace the values of a renderer.
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 function clear(view:View3D):void Parameters
view:View3D
clone()method 
public function clone():IPrimitiveConsumer

Returns
IPrimitiveConsumer
list()method 
public 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 function primitive(pri:DrawPrimitive):Boolean

Adds a drawing primitive to the primitive consumer

Parameters
pri:DrawPrimitive — The drawing primitive to add.

Returns
Boolean — Whether the primitive was added.
render()method 
public function render(view:View3D):void Parameters
view:View3D
toString()method 
public function toString():String

Used to trace the values of a renderer.

Returns
String — A string representation of the renderer object.
Wiki link
Click to go to the wiki page for 'away3d.core.render.BSPRenderer'

Code examples

Comments