openrndr / org.openrndr.animatable / PropertyAnimationKey

PropertyAnimationKey

abstract class PropertyAnimationKey<T> (source)

Constructors

<init>

PropertyAnimationKey(property: KMutableProperty0<T>, targetValue: T, durationInNs: Long, startInNs: Long, easing: Easing)

Properties

animationState

var animationState: AnimationState

cancelled

animation cancelled event

val cancelled: Event<AnimationEvent>

completed

animation completed event

val completed: Event<AnimationEvent>

durationInNs

val durationInNs: Long

easing

val easing: Easing

endInNs

end time in nanoseconds of the animation

val endInNs: Long

property

open val property: KMutableProperty0<T>

startInNs

val startInNs: Long

targetValue

open val targetValue: T