Class VRMAimConstraint

Hierarchy (view full)

Constructors

Properties

_aimAxis: any

The aim axis of the constraint.

_dstRestQuat: any

The rest quaternion of the destination.

_v3AimAxis: any

The _aimAxis but in an actual Vector3 form.

destination: Object3D<Object3DEventMap>

The object being constrained by the source.

source: Object3D<Object3DEventMap>

The object constrains the destination.

weight: number

The weight of the constraint.

Accessors

  • get aimAxis(): "PositiveX" | "NegativeX" | "PositiveY" | "NegativeY" | "PositiveZ" | "NegativeZ"
  • The aim axis of the constraint.

    Returns "PositiveX" | "NegativeX" | "PositiveY" | "NegativeY" | "PositiveZ" | "NegativeZ"

  • set aimAxis(aimAxis): void
  • The aim axis of the constraint.

    Parameters

    • aimAxis: "PositiveX" | "NegativeX" | "PositiveY" | "NegativeY" | "PositiveZ" | "NegativeZ"

    Returns void

  • get dependencies(): Set<Object3D<Object3DEventMap>>
  • Returns Set<Object3D<Object3DEventMap>>

Methods

  • Set initial state of the constraint.

    Returns void

  • Update and apply the constraint.

    Returns void