Documentation
    Preparing search index...

    Class AnimationLayerStack

    Weighted stack of AnimationControllers over one target.

    See the module header for the replace-then-add rule and the claim policy.

    Implements

    Index
    • get finished(): boolean

      Whether playback has reached its end.

      Returns boolean

    • get layerCount(): number

      Number of layers, in declaration order.

      Returns number

    • get target(): object

      Returns object

    • Advances every child controller, then writes the composed pose.

      Parameters

      • deltaSeconds: number

      Returns this

      FourError INVALID_APPLICATION_STATE — negative or non-finite delta.

    • Current weight of layer index.

      Parameters

      • index: number

      Returns number

    • Returns this

    • Adopts every child, claims the union of their channels, and writes the initial composed pose.

      Returns this

    • Returns this

    • Sets the weight of layer index. Finite; not clamped.

      Parameters

      • index: number
      • weight: number

      Returns this

      FourError INVALID_APPLICATION_STATE — bad index or non-finite weight.

    • Returns this