Packageaway3d.core.traverse
Classpublic class PrimitiveTraverser
InheritancePrimitiveTraverser Inheritance Traverser

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
Executed when the traverser is applied to the node.
PrimitiveTraverser
  
enter(node:Object3D):void
Executed when the traverser enters the node.
PrimitiveTraverser
  
leave(node:Object3D):void
Executed when the traverser leaves the node.
PrimitiveTraverser
  
match(node:Object3D):Boolean
Determines if the specified node is required to be traversed.
PrimitiveTraverser
Property detail
viewproperty
view:View3D  [read-write]

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() Init Parameters
Method detail
apply()method
public override function apply(node:Object3D):void

Executed when the traverser is applied to the node.

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

Executed when the traverser enters the node.

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

Executed when the traverser leaves the node.

Parameters
node:Object3D
match()method 
public override 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.
Wiki link
Click to go to the wiki page for 'away3d.core.traverse.PrimitiveTraverser'

Code examples

Comments