Skip to main content

Module keyframe

Module keyframe 

Source
Expand description

Keyframe tracks — time-stamped values with interpolated playback.

A KeyframeTrack<T> stores a list of (time, value) pairs and provides continuous interpolation between them using configurable easing per segment.

This is the foundation for cinematic cutscenes, camera paths, and math-driven animation curves exported from design tools.

Structs§

CameraPath
A smooth camera path through a list of positions and targets.
Keyframe
A single keyframe: a value at a specific time.
KeyframeTrack
An ordered list of keyframes with time-based interpolation.
MultiTrack
A collection of named KeyframeTrack<f32> tracks played together.

Enums§

ExtrapolateMode
How to handle time values outside the keyframe range.