WrapMode
The WrapMode enumeration is used to specify how an animation should be handled after it has played once, i.e., the animation loop mode.
| attributes | description |
|---|---|
| Default | Use the default loop mode. The default mode depends on the animation's import settings and the platform, usually Loop or Once. |
| Clamp | Plays the animation once and then stays on the last frame. If the animation is played again, only the content of the last frame will be displayed, regardless of whether the animation is restarted. |
| Repeat | Loop playback, when reaching the last frame, immediately restart playback from the first frame. |
| PingPong | The animation loops continuously, but when it reaches the last frame, it plays in reverse, and then plays in reverse again when it reaches the first frame. |
