Constructs new controls.
A position.
A quaternion.
A DOM element. Serves as the primary event target.
Readonly
constraintsReadonly
settingsThe control settings.
A DOM element. Acts as the primary event target.
Indicates whether the controls are enabled.
Event listeners will be registered or unregistered depending on this flag.
The quaternion.
Clones this instance.
The cloned controls.
Copies the given controls.
A controls instance.
This instance.
Looks at the given point.
The X-coordinate, or a point.
Optional
y: numberThe Y-coordinate.
Optional
z: numberThe Z-coordinate.
This instance.
Static
Readonly
EVENT_Triggers when the position or quaternion is changed.
Generated using TypeDoc
Spatial controls for 3D translation and rotation.
This class emits events of type EVENT_UPDATE when the position or quaternion is changed.