Runtime view over the active drag settings for one input type (screen or XR). DragControls constructs one instance per input type (screenProfile / xrProfile). All properties are lazy getters over the flat serialized fields on the owning DragControls, so runtime writes to those fields are reflected immediately without any extra bookkeeping.

Accessors

  • get distanceDragFactor(): number

    Multiplier for push/pull distance in XR; always 1 for screen input.

    Returns number

  • get keepRotation(): boolean

    Whether the dragged object's rotation is frozen during drag.

    Returns boolean

  • get keepScale(): boolean

    Whether the dragged object's scale is frozen during two-pointer drag.

    Returns boolean