CameraAnimation

@Serializable
data class CameraAnimation(val duration: Double? = null, val easing: MPIOptions.EASING_MODE? = null)

Configuration for an animation.

Constructors

Link copied to clipboard
fun CameraAnimation(duration: Double? = null, easing: MPIOptions.EASING_MODE? = null)

Properties

Link copied to clipboard
val duration: Double? = null

Animation duration in milliseconds.

Link copied to clipboard
val easing: MPIOptions.EASING_MODE? = null

Mode for easing in and out of the animation.