The EntityCollector class is a traverser for scene partitions that collects all scene graph entities that are considered potientially visible.

See also:

  • away3d.partition.Partition3D

  • away3d.partition.Entity

Constructor

new()

Creates a new EntityCollector object.

Methods

applyRenderable(renderable:IRenderable):Void

Adds an IRenderable object to the potentially visible objects.

Parameters:

renderable

The IRenderable object to add.

Inherited Variables

Inherited Methods

Defined by EntityCollector

applyEntity(entity:Entity):Void

@inheritDoc

cleanUp():Void

Cleans up any data at the end of a frame.

clear():Void

Clears all objects in the entity collector.

enterNode(node:NodeBase):Bool

Returns true if the current node is at least partly in the frustum. If so, the partition node knows to pass on the traverser to its children.

Parameters:

node

The Partition3DNode object to frustum-test.