Animation
class Animation<KeyFrameType>(val frames: List<KeyFrameType>, val frameIndices: List<Int>, val frameTimes: List<Duration>)
Animation based class that holds info on what frames to be animating. Recommended to be used with AnimationPlayer to assist in playing back the frames.
Author
Colton Daily
See also
Parameters
KeyFrameType
the type to be used as the key frame.
Constructors
Link copied to clipboard
fun <KeyFrameType> Animation(frames: List<KeyFrameType>, frameIndices: List<Int>, frameTimes: List<Duration>)