AnimationDirection
Determines whether a USS animation plays forward, backward, or alternates direction across iterations.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public enum AnimationDirection
Fields
Value | Description |
|---|---|
| Alternate | The animation plays forward on even iterations and backward on odd iterations. |
| AlternateReverse | The animation plays backward on even iterations and forward on odd iterations. |
| Normal | The animation plays forward on every iteration. |
| Reverse | The animation plays backward on every iteration. |