Packageaway3d.core.partition
Classpublic class RenderableNode
InheritanceRenderableNode Inheritance EntityNode Inheritance NodeBase

RenderableNode is a space partitioning leaf node that contains any Entity that is itself a IRenderable object. This excludes Mesh (since the renderable objects are its SubMesh children).

Public Properties
 PropertyDefined by
 Inheritedentity : Entity
The entity contained in this leaf node.
EntityNode
 Inheritedparent : NodeBase
The parent node.
NodeBase
Protected Properties
 PropertyDefined by
 Inherited_childNodes : Vector
NodeBase
 Inherited_numChildNodes : uint
NodeBase
 Inherited_parent : NodeBase
NodeBase
Public Methods
 MethodDefined by
  
Creates a new RenderableNode object.
RenderableNode
  
Allows the traverser to visit the current node.
RenderableNode
 Inherited
addNode(node:NodeBase):void
Adds a node to the tree.
NodeBase
 Inherited
Finds the partition that contains (or should contain) the given entity.
NodeBase
 Inherited
isInFrustum(camera:Camera3D):Boolean
Tests if the current node is at least partly inside the frustum.
EntityNode
 Inherited
Detaches the node from its parent.
EntityNode
 Inherited
removeNode(node:NodeBase):void
Removes a child node from the tree.
NodeBase
Constructor detail
RenderableNode()constructor
public function RenderableNode(renderable:IRenderable)Parameters
renderable:IRenderable — The mesh to be contained in the node.
Init Parameters
Method detail
acceptTraverser()method
public override function acceptTraverser(traverser:PartitionTraverser):void

Allows the traverser to visit the current node. If the traverser's enterNode method returns true, the traverser will be sent down the child nodes of the tree. This method should be overridden if the order of traversal is important (such as for BSP trees) - or if static child nodes are not added using addNode, but are linked to separately.

Parameters
traverser:PartitionTraverser — The traverser visiting the node.
Wiki link
Click to go to the wiki page for 'away3d.core.partition.RenderableNode'

Code examples

Comments