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).

Constructor

new(renderable:IRenderable)

Creates a new RenderableNode object.

Parameters:

mesh

The mesh to be contained in the node.

Methods

acceptTraverser(traverser:PartitionTraverser):Void

@inheritDoc

Inherited Variables

Defined by EntityNode

read onlyentity:Entity

Defined by NodeBase

Inherited Methods

Defined by EntityNode

isIntersectingRay(rayPosition:Vector3D, rayDirection:Vector3D):Bool

@inheritDoc

removeFromParent():Void

Detaches the node from its parent.

Defined by NodeBase

findPartitionForEntity(entity:Entity):NodeBase

Finds the partition that contains (or should contain) the given entity.