UNPKG

spatial-controls

Version:

Configurable 3D movement controls.

20 lines (19 loc) 432 B
/** * An enumeration of pointer behaviours. * * @group Input */ export declare enum PointerBehaviour { /** * The pointer will not be locked and the pointer button must be held down. */ DEFAULT = "default", /** * Locks the pointer on interaction. */ LOCK = "lock", /** * Locks the pointer on interaction and the pointer button must be held down. */ LOCK_HOLD = "lock-hold" }