Combines input and output accessors with an interpolation algorithm to define a keyframe graph (but not its target)

interface IAnimationSampler {
    extensions?: Record<string, unknown>;
    extras?: Record<string, unknown>;
    input: number;
    interpolation?: AnimationSamplerInterpolation;
    output: number;
}

Hierarchy (view full)

Properties

extensions?: Record<string, unknown>

Dictionary object with extension-specific objects

extras?: Record<string, unknown>

Application-Specific data

input: number

The index of an accessor containing keyframe input values, e.g., time

Interpolation algorithm

output: number

The index of an accessor, containing keyframe output values