Packageaway3d.core.traverse
Classpublic class SessionTraverser
InheritanceSessionTraverser Inheritance Traverser

Traverser that gathers blocker primitives for occlusion culling.

Public Methods
 MethodDefined by
  
Creates a new SessionTraverser object.
SessionTraverser
  
apply(node:Object3D):void
Executed when the traverser is applied to the node.
SessionTraverser
 Inherited
enter(node:Object3D):void
Executed when the traverser enters the node.
Traverser
 Inherited
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.
SessionTraverser
Constructor detail
SessionTraverser()constructor
public function SessionTraverser() 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
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.SessionTraverser'

Code examples

Comments