An instance of Morph. Contains weights to assign to every MorphTarget, manages selection of active morph targets.

Constructors

Properties

Methods

Constructors

Properties

morph: Morph

The morph with its targets, which is being instanced.

Methods

  • Gets current weight of the specified morph target.

    Parameters

    • key: string | number

      An identifier for the morph target. Either the weight index or the weight name.

    Returns number

    Weight.

  • Sets weight of the specified morph target.

    Parameters

    • key: string | number

      An identifier for the morph target. Either the weight index or the weight name.

    • weight: number

      Weight.

    Returns void