Constructs new controls.
A position.
A quaternion.
A target.
The settings.
Readonly
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.
Looks at the given point.
The X-coordinate, or a point.
Optional
y: numberThe Y-coordinate.
Optional
z: numberThe Z-coordinate.
This instance.
Synchronizes the internal state with external changes.
The previous position.
The previous quaternion.
The previous target.
Static
Readonly
EVENT_Triggers when the quaternion is changed.
Generated using TypeDoc
3D rotation controls.
This class emits events of type EVENT_UPDATE when the quaternion is changed.