@pixiv/three-vrm
    Preparing search index...

    Class VRMAimConstraint

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    destination: Object3D

    The object being constrained by the source.

    source: Object3D

    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:
              | "PositiveX"
              | "NegativeX"
              | "PositiveY"
              | "NegativeY"
              | "PositiveZ"
              | "NegativeZ",
      ): 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