Package | away3d.core.traverse |
Class | public class RaycastCollector |
Inheritance | RaycastCollector ![]() ![]() ![]() |
See also
Property | Defined By | ||
---|---|---|---|
![]() | blendedRenderableHead : RenderableListItem
The list of IRenderable objects that require blending and are considered potentially visible. | EntityCollector | |
![]() | camera : Camera3D
The camera that provides the visible frustum. | EntityCollector | |
![]() | cullPlanes : Vector.<Plane3D> | EntityCollector | |
![]() | directionalLights : Vector.<DirectionalLight> [read-only] | EntityCollector | |
![]() | entityHead : EntityListItem [read-only] | EntityCollector | |
![]() | entryPoint : Vector3D [read-only]
The entry point for scene graph traversal, ie the point that will be used for traversing the graph
position-dependently. | PartitionTraverser | |
![]() | lightProbes : Vector.<LightProbe> [read-only] | EntityCollector | |
![]() | lights : Vector.<LightBase> [read-only]
The lights of which the affecting area intersects the camera's frustum. | EntityCollector | |
![]() | numMouseEnableds : uint [read-only]
The amount of IRenderable objects that are mouse-enabled. | EntityCollector | |
![]() | numTriangles : uint [read-only]
The total number of triangles collected, and which will be pushed to the render engine. | EntityCollector | |
![]() | opaqueRenderableHead : RenderableListItem
The list of opaque IRenderable objects that are considered potentially visible. | EntityCollector | |
![]() | pointLights : Vector.<PointLight> [read-only] | EntityCollector | |
rayDirection : Vector3D
Provides the direction vector of the ray. | RaycastCollector | ||
rayPosition : Vector3D
Provides the starting position of the ray. | RaycastCollector | ||
![]() | scene : Scene3D
The scene being traversed. | PartitionTraverser | |
![]() | skyBox : IRenderable [read-only]
The sky box object if encountered. | EntityCollector |
Method | Defined By | ||
---|---|---|---|
Creates a new RaycastCollector object. | RaycastCollector | ||
![]() | applyDirectionalLight(light:DirectionalLight):void [override] | EntityCollector | |
![]() | applyEntity(entity:Entity):void [override]
Registers an entity for use. | EntityCollector | |
![]() | applyLightProbe(light:LightProbe):void [override] | EntityCollector | |
![]() | applyPointLight(light:PointLight):void [override] | EntityCollector | |
applyRenderable(renderable:IRenderable):void [override]
Adds an IRenderable object to the potentially visible objects. | RaycastCollector | ||
applySkyBox(renderable:IRenderable):void [override]
Adds a skybox to the potentially visible objects. | RaycastCollector | ||
applyUnknownLight(light:LightBase):void [override]
Adds a light to the potentially visible objects. | RaycastCollector | ||
![]() | cleanUp():void
Cleans up any data at the end of a frame. | EntityCollector | |
![]() | clear():void
Clears all objects in the entity collector. | EntityCollector | |
[override]
Returns true if the current node is at least partly in the frustum. | RaycastCollector |
rayDirection | property |
rayDirection:Vector3D
Provides the direction vector of the ray.
public function get rayDirection():Vector3D
public function set rayDirection(value:Vector3D):void
rayPosition | property |
rayPosition:Vector3D
Provides the starting position of the ray.
public function get rayPosition():Vector3D
public function set rayPosition(value:Vector3D):void
RaycastCollector | () | Constructor |
public function RaycastCollector()
Creates a new RaycastCollector object.
applyRenderable | () | method |
override public function applyRenderable(renderable:IRenderable):void
Adds an IRenderable object to the potentially visible objects.
Parameters
renderable:IRenderable — The IRenderable object to add.
|
applySkyBox | () | method |
override public function applySkyBox(renderable:IRenderable):void
Adds a skybox to the potentially visible objects.
Parameters
renderable:IRenderable — The skybox to add.
|
applyUnknownLight | () | method |
override public function applyUnknownLight(light:LightBase):void
Adds a light to the potentially visible objects.
Parameters
light:LightBase — The light to add.
|
enterNode | () | method |
override public function enterNode(node:NodeBase):Boolean
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:NodeBase — The Partition3DNode object to frustum-test.
|
Boolean |