Enum WeaverAnimationData.WrapMode
Determines how an animation clip will loop
Namespace: WeaverCore.Utilities
Assembly: WeaverCore.dll
Syntax
public enum WeaverAnimationData.WrapMode
Fields
| Name | Description |
|---|---|
| Loop | The clip will loop back to the start when it reaches the end |
| LoopSection | The clip will loop back to the LoopStart index it reaches the end |
| Once | The clip will only play once |
| PingPong | When the clip reaches the end, it will start playing the animation backwards |
| RandomContinuous | Will constantly play a random frame |
| RandomFrame | Will play a random frame in the clip's frames list |
| RandomLoop | When the clip reaches the end, it will loop back to a random frame |
| SingleFrame | Will only play a single frame |