Struct AnimationDescription
An animation description. It contains the duration of the animation, the easing function and the callback.
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
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, float> |
durationMs
The duration of the animation in milliseconds.
Declaration
public int durationMs
Field Value
Type | Description |
---|---|
int |
easing
The easing function to use for the animation.
Declaration
public Func<float, float> easing
Field Value
Type | Description |
---|---|
Func<float, float> |