Running Animation Params
Describes the properties of a currently running animation
Constructors
Link copied to clipboard
constructor(animation: Animation, animationName: String, colors: List<PreparedColorContainer>, id: String, section: String, runCount: Int, intParams: Map<String, Int>, doubleParams: Map<String, Double>, stringParams: Map<String, String>, locationParams: Map<String, Location>, distanceParams: Map<String, AbsoluteDistance>, rotationParams: Map<String, RadiansRotation>, equationParams: Map<String, Equation>, sourceParams: AnimationToRunParams)
Constructor so we can have the animation parameter but not include it in serialization
Properties
Link copied to clipboard
The name of the animation being run
Link copied to clipboard
The list of PreparedColorContainers used
Link copied to clipboard
A map of Distance parameters for the animation
Link copied to clipboard
A map of double parameters for the animation
Link copied to clipboard
A map of Equation parameters for the animation
Link copied to clipboard
A map of Location parameters for the animation
Link copied to clipboard
A map of Rotation parameters for the animation
Link copied to clipboard
The AnimationToRunParams instance that created this RunningAnimationParams
Link copied to clipboard
A map of string parameters for the animation
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun withModifications(animation: String = this.animationName, colors: List<ColorContainerInterface> = this.colors, id: String = this.id, section: String = this.section, runCount: Int = this.runCount, intParamMods: Map<String, Int> = mapOf(), doubleParamMods: Map<String, Double> = mapOf(), stringParamMods: Map<String, String> = mapOf(), locationParamMods: Map<String, Location> = mapOf(), distanceParamMods: Map<String, Distance> = mapOf(), rotationParamMods: Map<String, Rotation> = mapOf(), equationParamMods: Map<String, Equation> = mapOf()): AnimationToRunParams
Create a new AnimationToRunParams instance with the values in this RunningAnimationParams, unless if specified otherwise