Optional
labelOptional label of the KeyframesAnimation.
Optional
inputOptional input accessor index defined in the glTF, used to keep different TargetsAnimationsManager in sync if they're using the same input.
Optional
keyframesKeyframes Float32Array of the KeyframesAnimation. Could be omitted when used for a skin joint matrices animation.
Optional
valuesValues Float32Array of the KeyframesAnimation to use for animation, mapped to the keyframes array. Could be omitted when used for a skin joint matrices animation.
Optional
pathglTF animation path to use, i.e. what component should be animated between 'translation', 'rotation', 'scale' and 'weights'. Could be omitted when used for a skin joint matrices animation.
Optional
interpolationglTF sampler interpolation to use, i.e. how the animated values should be computed. Default to LINEAR
.
Parameters used to create a KeyframesAnimation.