Enum WrapMode
Determines how an animation clip behaves when it's being evaluated beyond its duration.
Namespace: Unity.Tiny.Animation
Syntax
public enum WrapMode : byte
Fields
Name | Description | Value |
---|---|---|
Once | When time reaches the end of the animation clip, the clip will automatically stop playing and time will be reset to beginning of the clip. |
0 |
ClampForever | When time reaches the end of the animation clip, the clip will keep playing the last frame and never stop. |
1 |
Loop | When time reaches the end of the animation clip, it will continue at the beginning. |
2 |
PingPong | When time reaches the end of the animation clip, it will start going backwards until it reaches the beginning and then start going forward again. |
3 |