animate

@JvmName(name = "animateProp")
fun KMutableProperty0<Double>.animate(targetValue: Double, durationInMs: Long, easing: Easing = Easing.None, predelayInMs: Long = 0): PropertyAnimationKey<Double>(source)
@JvmName(name = "animatePropQuaternion")
fun KMutableProperty0<Quaternion>.animate(targetValue: Quaternion, durationInMs: Long, easing: Easing = Easing.None, predelayInMs: Long = 0): PropertyAnimationKey<Quaternion>(source)

animate Double property

Parameters

targetValue

the target animation value

durationInMs

animation duration in milliseconds

easing

the easing to use during the animation, default is Easing.None

predelayInMs

time to wait in milliseconds before the animation starts


@JvmName(name = "animatePropLinearType")
fun <T : LinearType<T>> KMutableProperty0<T>.animate(targetValue: T, durationInMs: Long, easing: Easing = Easing.None, predelayInMs: Long = 0): PropertyAnimationKey<T>(source)

animate LinearType property

Parameters

targetValue

the target animation value

durationInMs

animation duration in milliseconds

easing

the easing to use during the animation, default is Easing.None

predelayInMs

time to wait in milliseconds before the animation starts


fun <T : LinearType<T>> animate(variable: KMutableProperty0<T>, target: T, durationMillis: Long, easing: Easing = Easing.None, predelayInMs: Long = 0): PropertyAnimationKey<T>(source)
fun animate(variable: KMutableProperty0<Double>, target: Double, durationMillis: Long, easing: Easing = Easing.None, predelayInMs: Long = 0): PropertyAnimationKey<Double>(source)
fun animate(variable: KMutableProperty0<Quaternion>, target: Quaternion, durationMillis: Long, easing: Easing = Easing.None, predelayInMs: Long = 0): PropertyAnimationKey<Quaternion>(source)