Packageaway3d.core.traverse
Classpublic class Traverser
SubclassesLightTraverser, PrimitiveTraverser, ProjectionTraverser, SessionTraverser, TickTraverser

Abstract class for all traverser that perform actions on the whole scene.

Public Methods
 MethodDefined by
  
apply(node:Object3D):void
Executed when the traverser is applied to the node.
Traverser
  
enter(node:Object3D):void
Executed when the traverser enters the node.
Traverser
  
leave(node:Object3D):void
Executed when the traverser leaves the node.
Traverser
  
match(node:Object3D):Boolean
Determines if the specified node is required to be traversed.
Traverser
Method detail
apply()method
public function apply(node:Object3D):void

Executed when the traverser is applied to the node.

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

Executed when the traverser enters the node.

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

Executed when the traverser leaves the node.

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

Code examples

Comments