Table of Contents

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

offset float

The normalized position within the timeline, from 0 (start) to 1 (end).

value object

The 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

float

Value

Gets the value at Offset.

public object? Value { get; }

Property Value

object