PickingSystem

PickingSystem

Helps gather pickable entities

Constructor

new PickingSystem()

Members

customPickLogic :Object

An object mapping component types to custom picking logic.
This does not respect inheritance, so new entries must be added for subclasses

editorCamera :Camera

The camera in use by the editor.

frustumData :Object

The information required to create a subCamera for a frustum pick

onFrustumPick :function

Callback to run after getting pick results for a frustum pick

onPick :function

Callback to run after getting pick results for a ray pick

pickingOrder :Array.<String>

The order in which to check components for picking

pickRay :Ray

The ray on which to perform a ray pick