Struct AnimationKeyframe
- Namespace
- Icy.Animations
- Assembly
- IcyUI.dll
Represents a single value a Timeline passes through at a normalized point in its playback.
public readonly struct AnimationKeyframe
- Inherited Members
- Extension Methods
Constructors
AnimationKeyframe(float, object?)
Initializes a new instance of the AnimationKeyframe struct.
public AnimationKeyframe(float offset, object? value)
Parameters
offsetfloatThe normalized position within the timeline, from 0 (start) to 1 (end).
valueobjectThe value at this position.
Properties
Offset
Gets the normalized position within the timeline this keyframe applies at, from 0 (start) to 1 (end).
public float Offset { get; }
Property Value
Value
Gets the value at Offset.
public object? Value { get; }