Packageaway3d.core.traverse
Classpublic class ShadowCasterCollector
InheritanceShadowCasterCollector Inheritance EntityCollector Inheritance PartitionTraverser

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
Public Properties
 PropertyDefined by
 InheritedblendedRenderables : Vector
The list of IRenderable objects that require blending and are considered potentially visible.
EntityCollector
 Inheritedcamera : Camera3D
The camera that provides the visible frustum.
EntityCollector
 Inheritedlights : Vector
The lights of which the affecting area intersects the camera's frustum.
EntityCollector
 InheritednumMouseEnableds : uint
The amount of IRenderable objects that are mouse-enabled.
EntityCollector
 InheritednumTriangles : uint
The total number of triangles collected, and which will be pushed to the render engine.
EntityCollector
 InheritedopaqueRenderables : Vector
The list of opaque IRenderable objects that are considered potentially visible.
EntityCollector
 Inheritedscene : Scene3D
The scene being traversed.
PartitionTraverser
 InheritedskyBox : IRenderable
The sky box object if encountered.
EntityCollector
Protected Properties
 PropertyDefined by
 Inherited_blendedRenderables : Vector
EntityCollector
 Inherited_camera : Camera3D
EntityCollector
 Inherited_entities : Vector
EntityCollector
 Inherited_lights : Vector
EntityCollector
 Inherited_numBlended : uint
EntityCollector
 Inherited_numEntities : uint
EntityCollector
 Inherited_numLights : uint
EntityCollector
 Inherited_numMouseEnableds : uint
EntityCollector
 Inherited_numOpaques : uint
EntityCollector
 Inherited_numTriangles : uint
EntityCollector
 Inherited_opaqueRenderables : Vector
EntityCollector
 Inherited_skyBox : IRenderable
EntityCollector
Public Methods
 MethodDefined by
  
Creates a new EntityCollector object.
ShadowCasterCollector
 Inherited
applyEntity(entity:Entity):void
Registers an entity for use.
EntityCollector
  
applyLight(light:LightBase):void
Adds a light to the potentially visible objects.
ShadowCasterCollector
  
applyRenderable(renderable:IRenderable):void
Adds an IRenderable object to the potentially visible objects.
ShadowCasterCollector
  
applySkyBox(renderable:IRenderable):void
Adds a skybox to the potentially visible objects.
ShadowCasterCollector
 Inherited
cleanUp():void
Cleans up any data at the end of a frame.
EntityCollector
 Inherited
clear():void
Clears all objects in the entity collector.
EntityCollector
 Inherited
enterNode(node:NodeBase):Boolean
Returns true if the current node is at least partly in the frustum.
EntityCollector
 Inherited
leaveNode(node:NodeBase):void
Called when the traverser leaves a node.
PartitionTraverser
Constructor detail
ShadowCasterCollector()constructor
public function ShadowCasterCollector() Init Parameters
Method detail
applyLight()method
public override function applyLight(light:LightBase):void

Adds a light to the potentially visible objects.

Parameters
light:LightBase — The light to add.
applyRenderable()method 
public override function applyRenderable(renderable:IRenderable):void

Adds an IRenderable object to the potentially visible objects.

Parameters
renderable:IRenderable — The IRenderable object to add.
applySkyBox()method 
public override function applySkyBox(renderable:IRenderable):void

Adds a skybox to the potentially visible objects.

Parameters
renderable:IRenderable — The skybox to add.
Wiki link
Click to go to the wiki page for 'away3d.core.traverse.ShadowCasterCollector'

Code examples

Comments