Struct AnimationDescription
An animation description. It contains the duration of the animation, the easing function and the callback.
Inherited Members
Namespace: UnityEngine.Dt.App.UI
Syntax
public struct AnimationDescription
Fields
callback
The callback to call when the animation is running.
Declaration
public Action<VisualElement, float> callback
Field Value
Type | Description |
---|---|
Action<VisualElement, Single> |
durationMs
The duration of the animation in milliseconds.
Declaration
public int durationMs
Field Value
Type | Description |
---|---|
Int32 |
easing
The easing function to use for the animation.
Declaration
public Func<float, float> easing
Field Value
Type | Description |
---|---|
Func<Single, Single> |