Packageaway3d.core.traverse
Classpublic class BlockerTraverser
InheritanceBlockerTraverser Inheritance Traverser

Traverser that gathers blocker primitives for occlusion culling.

Public Properties
 PropertyDefined by
  consumer : IBlockerConsumer
Defines the blocker consumer being used.
BlockerTraverser
  view : View3D
Defines the view being used.
BlockerTraverser
Public Methods
 MethodDefined by
  
Creates a new BlockerTraverser object.
BlockerTraverser
  
apply(node:Object3D):void
Executed when the traverser is applied to the node.
BlockerTraverser
 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.
BlockerTraverser
Property detail
consumerproperty
public var consumer:IBlockerConsumer

Defines the blocker consumer being used.

viewproperty 
public var view:View3D

Defines the view being used.

Constructor detail
BlockerTraverser()constructor
public function BlockerTraverser() ####INIT####
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 ####WIKI####

Code examples

Comments