Packageaway3d.core.draw
Interfacepublic interface IPrimitiveProvider
ImplementorsAmbientLight3D, ConvexBlock, DebugObjectContainer3D, DirectionalLight3D, DirSprite2D, DofSprite2D, Mesh, MovieClipSprite, ObjectContainer3D, PointLight3D, Sprite2D, WireMesh

Interface for objects that provide drawing primitives to the rendering process

Public Methods
 MethodDefined by
  
Called from the PrimitiveTraverser when passing DrawPrimitive objects to the primitive consumer object
IPrimitiveProvider
Method detail
primitives()method
public function primitives(consumer:IPrimitiveConsumer, session:AbstractRenderSession):void

Called from the PrimitiveTraverser when passing DrawPrimitive objects to the primitive consumer object

Parameters
consumer:IPrimitiveConsumer — The consumer instance
 
session:AbstractRenderSession — The render session of the 3d object

See also

Wiki link
Click to go to the wiki page for ####WIKI####

Code examples

Comments