CameraNode is a space partitioning leaf node that contains a Camera3D object.

Constructor

new(camera:Camera3D)

Creates a new CameraNode object.

Parameters:

camera

The camera 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.