keyframe

fun keyframe(timeMillis: Int, valueFraction: Float): Keyframe(source)

Creates one timestamped progress checkpoint for keyframes.

Return

an immutable checkpoint; clamping occurs only when the engine samples it

Parameters

timeMillis

checkpoint time relative to the animation start, in milliseconds

valueFraction

target progress between the start and end values