csharp
public readonly record struct AnimationSpecAn animation declaration, read.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (7)
public string NameThe @keyframes name.
public float DurationOne iteration's length, in seconds.
public float DelayHow long to wait first, in seconds.
public TimingFunction TimingThe easing applied within each iteration.
public float IterationsHow many times, or PositiveInfinity.
public AnimationDirection DirectionWhich way round each pass runs.
public AnimationFill FillWhat it leaves behind.
Methods (2)
public AnimationSpec(string Name, float Duration, float Delay, TimingFunction Timing, float Iterations, AnimationDirection Direction, AnimationFill Fill)An animation declaration, read.
public bool TryOffsetAt(float elapsed, out float offset)Where in the keyframe timeline the animation is at a given moment.
Used by (2)
- AnimatorVixen.Ui.Styling
- RunningAnimationVixen.Ui.Styling