Animation
Represents an animation that can be run
Inheritors
Types
Link copied to clipboard
data class AnimationInfo(val name: String, val abbr: String, val description: String, val runCountDefault: Int, val minimumColors: Int, val unlimitedColors: Boolean, val dimensionality: Set<Dimensionality>, val intParams: List<AnimationParameter<Int>> = listOf(), val doubleParams: List<AnimationParameter<Double>> = listOf(), val stringParams: List<AnimationParameter<String>> = listOf(), val locationParams: List<AnimationParameter<Location>> = listOf(), val distanceParams: List<AnimationParameter<Distance>> = listOf(), val rotationParams: List<AnimationParameter<Rotation>> = listOf(), val equationParams: List<AnimationParameter<Equation>> = listOf()) : SendableData
Stores information about an animation.
Functions
Link copied to clipboard
abstract suspend fun runAnimation(leds: AnimationManager, params: RunningAnimationParams, scope: <Error class: unknown class>)
Run the animation, passing it the AnimationManager running it, parameters specifying how to run the animation, and the CoroutineScope the animation is running in