Packageaway3d.core.draw
Interfacepublic interface IPrimitiveConsumer
ImplementorsBasicRenderer, BSPRenderer, QuadrantRenderer

Interface for containers capable of drawing primitives

Public Methods
 MethodDefined by
  
clear(view:View3D):void
IPrimitiveConsumer
  
IPrimitiveConsumer
  
list():Array
IPrimitiveConsumer
  
primitive(pri:DrawPrimitive):Boolean
Adds a drawing primitive to the primitive consumer
IPrimitiveConsumer
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

Returns
Array
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.
Wiki link
Click to go to the wiki page for ####WIKI####

Code examples

Comments