Skip to main content

Type Alias: AnimationTrackProps

AnimationTrackProps = object

Defined in: modules/engine/src/animation/animation-track.ts:23

Construction properties for a reusable keyframe track.

Properties​

binding​

binding: AnimationBinding

Defined in: modules/engine/src/animation/animation-track.ts:35

Target property updated when the track is played.


interpolation?​

optional interpolation?: AnimationInterpolation

Defined in: modules/engine/src/animation/animation-track.ts:31

Interpolation between adjacent keyframes.


name?​

optional name?: string

Defined in: modules/engine/src/animation/animation-track.ts:25

Application-visible track name.


times​

times: readonly number[]

Defined in: modules/engine/src/animation/animation-track.ts:27

Keyframe times, in seconds.


values​

values: readonly readonly number[][]

Defined in: modules/engine/src/animation/animation-track.ts:29

Keyframe values, including glTF-compatible cubic spline tangent triples.


valueType?​

optional valueType?: AnimationValueType

Defined in: modules/engine/src/animation/animation-track.ts:33

Value interpretation used during interpolation and blending.