Documentation
    Preparing search index...

    Interface AnimationLayer

    One layer of an AnimationLayerStack.

    interface AnimationLayer {
        additive?: boolean;
        controller: AnimationController;
        weight?: number;
    }
    Index
    additive?: boolean

    When true on a layer after the first, the pose is added through ValueAdapter.add. The first layer always replaces, even if this is set. Default false (weighted lerp over the pose so far).

    Controller that produces this layer's pose.

    weight?: number

    Blend or add weight. Default 1. Finite; values outside [0, 1] extrapolate the same way ValueAdapter.lerp does.