LoopType.cs 525 B

123456789101112131415161718192021
  1. namespace LitMotion
  2. {
  3. /// <summary>
  4. /// Specifies the behavior when repeating the animation with `WithLoops`.
  5. /// </summary>
  6. public enum LoopType : byte
  7. {
  8. /// <summary>
  9. /// Repeat from beginning.
  10. /// </summary>
  11. Restart,
  12. /// <summary>
  13. /// Cycles back and forth between the end and start values.
  14. /// </summary>
  15. Yoyo,
  16. /// <summary>
  17. /// Increase the value each time the repeats.
  18. /// </summary>
  19. Incremental
  20. }
  21. }