Class AnimatablePropertyT

AnimatableProperty<T> class

Represents a property value that can be animated using ICurveSampler.

public class AnimatableProperty<T>
    where T : struct
ParameterDescription
TThe type of the value.

Properties

NameDescription
IsAnimated { get; }
Tracks { get; }
Value { get; set; }Gets or sets the default value of this instance. When animations are disabled, or there’s no animation track available, this will be the returned value.

Methods

NameDescription
Clone()
GetValueAt(string, float)Evaluates the value of this AnimatableProperty at a given offset for a given track.
RemoveTrack(string)Removes the animation track.
SetTrack(string, ICurveSampler<T>)Assigns an animation curve to a given track.
SetValue(params float[])
UseTrackBuilder(string)

See Also