AnimationInfo

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.

Constructors

Link copied to clipboard
constructor(name: String, abbr: String, description: String, runCountDefault: Int, minimumColors: Int, unlimitedColors: Boolean, dimensionality: Set<Dimensionality>, intParams: List<AnimationParameter<Int>> = listOf(), doubleParams: List<AnimationParameter<Double>> = listOf(), stringParams: List<AnimationParameter<String>> = listOf(), locationParams: List<AnimationParameter<Location>> = listOf(), distanceParams: List<AnimationParameter<Distance>> = listOf(), rotationParams: List<AnimationParameter<Rotation>> = listOf(), equationParams: List<AnimationParameter<Equation>> = listOf())

Properties

Link copied to clipboard

The abbreviation that can be used to identify the animation

Link copied to clipboard

A description of the animation

Link copied to clipboard
Link copied to clipboard

A list of Distance parameters the animation uses (note that default values are percentages of the strip span in that dimension, not the full distance)

Link copied to clipboard

A list of double parameters the animation uses

Link copied to clipboard

A list of Equation parameters the animation uses

Link copied to clipboard

A list of integer parameters the animation uses

Link copied to clipboard

A list of Location parameters the animation uses

Link copied to clipboard

The number of required colors for this animation

Link copied to clipboard

The name used to identify this animation

Link copied to clipboard

Default value for the runCount parameter

Link copied to clipboard
Link copied to clipboard

Can this animation take an unlimited number of colors

Functions

Link copied to clipboard
open fun json(): ByteArray
Link copied to clipboard
open fun jsonString(): String
Link copied to clipboard
Link copied to clipboard