智慧水务管理系统 - 精河县供水工程综合管理平台

1234567891011121314151617181920212223242526272829303132333435363738
  1. // @ts-check
  2. /**
  3. * Determines if and how a glTF animation is looped.
  4. *
  5. * @enum {number}
  6. *
  7. * @see ModelAnimationCollection#add
  8. */
  9. const ModelAnimationLoop = {
  10. /**
  11. * Play the animation once; do not loop it.
  12. *
  13. * @type {number}
  14. * @constant
  15. */
  16. NONE: 0,
  17. /**
  18. * Loop the animation playing it from the start immediately after it stops.
  19. *
  20. * @type {number}
  21. * @constant
  22. */
  23. REPEAT: 1,
  24. /**
  25. * Loop the animation. First, playing it forward, then in reverse, then forward, and so on.
  26. *
  27. * @type {number}
  28. * @constant
  29. */
  30. MIRRORED_REPEAT: 2,
  31. };
  32. Object.freeze(ModelAnimationLoop);
  33. export default ModelAnimationLoop;