Class SpatialControls

Spatial controls for 3D translation and rotation.

This class emits events of type EVENT_UPDATE when the position or quaternion is changed.

Hierarchy

Implements

Constructors

Properties

constraints: Set<Constraint<Vector3>>

Custom constraints for position and target.

settings: Settings

The control settings.

Accessors

  • get enabled(): boolean
  • Indicates whether the controls are enabled.

    Event listeners will be registered or unregistered depending on this flag.

    Returns boolean

  • set enabled(value): void
  • Parameters

    • value: boolean

    Returns void

Methods

Events

EVENT_UPDATE: "update" = "update"

Triggers when the position or quaternion is changed.

Generated using TypeDoc