Packageaway3d.core.draw
Classpublic class PrimitiveArray
ImplementsIPrimitiveConsumer

Array for storing drawing primitives.

Public Properties
 PropertyDefined by
  blockers : Array
[write-only] Defines the array of blocker primitives to be used on the drawing primitives.
PrimitiveArray
  clip : Clipping
[write-only] Defines the clipping object to be used on the drawing primitives.
PrimitiveArray
Public Methods
 MethodDefined by
  
list():Array
A list of primitives that have been clipped and blocked.
PrimitiveArray
  
Adds a drawing primitive to the primitive consumer
PrimitiveArray
Property detail
blockersproperty
blockers:Array  [write-only]

Defines the array of blocker primitives to be used on the drawing primitives.

Implementation
    public function set blockers(value:Array):void
clipproperty 
clip:Clipping  [write-only]

Defines the clipping object to be used on the drawing primitives.

Implementation
    public function set clip(value:Clipping):void
Method detail
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):void

Adds a drawing primitive to the primitive consumer

Parameters
pri:DrawPrimitive — The drawing primitive to add.
Wiki link
Click to go to the wiki page for ####WIKI####

Code examples

Comments