gpu-curtains
    Preparing search index...

    Parameters used to create a KeyframesAnimation.

    interface KeyframesAnimationParams {
        label?: string;
        inputIndex?: number;
        keyframes?: TypedArray;
        values?: TypedArray;
        path?: AnimationChannelTargetPath;
        type?: KeyframesAnimationValueType;
        inputValue?: KeyframesAnimationInputValue;
        interpolation?: AnimationSamplerInterpolation;
    }
    Index

    Properties

    label?: string

    Optional label of the KeyframesAnimation.

    inputIndex?: number

    Optional input accessor index defined in the glTF, used to keep different TargetsAnimationsManager in sync if they're using the same input.

    keyframes?: TypedArray

    Keyframes Float32Array of the KeyframesAnimation. Could be omitted when used for a skin joint matrices animation.

    values?: TypedArray

    Values Float32Array of the KeyframesAnimation to use for animation, mapped to the keyframes array. Could be omitted when used for a skin joint matrices animation.

    glTF animation path to use, i.e. what component should be animated between 'translation', 'rotation', 'scale', 'weights' and 'pointer'. Could be omitted when used for a skin joint matrices animation.

    Type of the value being animated. Could be omitted when used for a skin joint matrices animation.

    Input value being animated. Could be omitted when used for a skin joint matrices animation.

    glTF sampler interpolation to use, i.e. how the animated values should be computed. Default to LINEAR .