Packageaway3d.core.traverse
Classpublic class PrimitiveTraverser
InheritancePrimitiveTraverser Inheritance Traverser Inheritance Object

Traverser that gathers drawing primitives to render the scene.



Public Properties
 PropertyDefined By
  view : View3D
Defines the view being used.
PrimitiveTraverser
Public Methods
 MethodDefined By
  
Creates a new PrimitiveTraverser object.
PrimitiveTraverser
  
apply(node:Object3D):void
[override] Executed when the traverser is applied to the node.
PrimitiveTraverser
  
enter(node:Object3D):void
[override] Executed when the traverser enters the node.
PrimitiveTraverser
  
leave(node:Object3D):void
[override] Executed when the traverser leaves the node.
PrimitiveTraverser
  
match(node:Object3D):Boolean
[override] Determines if the specified node is required to be traversed.
PrimitiveTraverser
Property Detail
viewproperty
view:View3D

Defines the view being used.


Implementation
    public function get view():View3D
    public function set view(value:View3D):void
Constructor Detail
PrimitiveTraverser()Constructor
public function PrimitiveTraverser()

Creates a new PrimitiveTraverser object.

####INIT####
Method Detail
apply()method
override public function apply(node:Object3D):void

Executed when the traverser is applied to the node.

Parameters

node:Object3D

enter()method 
override public function enter(node:Object3D):void

Executed when the traverser enters the node.

Parameters

node:Object3D

leave()method 
override public function leave(node:Object3D):void

Executed when the traverser leaves the node.

Parameters

node:Object3D

match()method 
override public function match(node:Object3D):Boolean

Determines if the specified node is required to be traversed.

Parameters

node:Object3D — The 3d object to be tested.

Returns
Boolean — The result of the test.