Skip to main content

Type Alias: AnimationSampler

AnimationSampler = object

Defined in: modules/engine/src/animation/animation-interpolation.ts:12

Keyframe times and values in the glTF-compatible animation sampler layout.

Properties​

input​

input: readonly number[]

Defined in: modules/engine/src/animation/animation-interpolation.ts:14

Keyframe times, in seconds.


interpolation?​

optional interpolation?: AnimationInterpolation | string

Defined in: modules/engine/src/animation/animation-interpolation.ts:18

Keyframe interpolation mode.


output​

output: readonly readonly number[][]

Defined in: modules/engine/src/animation/animation-interpolation.ts:16

One value per keyframe, or in-tangent/value/out-tangent triples for cubic splines.