animation.vwf.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. {
  2. "properties": {
  3. "animationTime": {
  4. "set": "this.animationTime_set(value)",
  5. "get": "return this.animationTime_get()"
  6. },
  7. "animationDuration": {
  8. "set": "this.animationDuration_set(value)",
  9. "value": 1
  10. },
  11. "animationRate": {
  12. "set": "this.animationRate_set(value)",
  13. "value": 1
  14. },
  15. "animationLoop": false,
  16. "animationPlaying": {
  17. "set": "this.animationPlaying_set(value)",
  18. "get": "return this.animationPlaying_get()"
  19. },
  20. "animationStoppedCallback": null,
  21. "animationTimeUpdated": null,
  22. "animationStartSIM": null,
  23. "animationPauseSIM": null,
  24. "animationStopSIM": null,
  25. "animationDurationSIM": null,
  26. "animationStartTime": {
  27. "set": "this.animationStartTime_set(value)",
  28. "value": null
  29. },
  30. "animationStopTime": {
  31. "set": "this.animationStopTime_set(value)",
  32. "value": null
  33. },
  34. "animationStartFrame": {
  35. "set": "this.animationStartFrame_set(value)",
  36. "get": "return this.animationStartFrame_get()"
  37. },
  38. "animationStopFrame": {
  39. "set": "this.animationStopFrame_set(value)",
  40. "get": "return this.animationStopFrame_get()"
  41. },
  42. "animationFPS": 30,
  43. "animationFrames": {
  44. "set": "this.animationFrames_set(value)",
  45. "get": "return this.animationFrames_get()"
  46. },
  47. "animationFrame": {
  48. "set": "this.animationFrame_set(value)",
  49. "get": "return this.animationFrame_get()"
  50. },
  51. "animationTPS": 60
  52. },
  53. "methods": {
  54. "animationPlay": {
  55. "parameters": [
  56. "startTime",
  57. "stopTime",
  58. "cb"
  59. ]
  60. },
  61. "animationPause": {},
  62. "animationResume": {},
  63. "animationStop": {},
  64. "animationTick": {
  65. "parameters": [
  66. "time",
  67. "duration"
  68. ]
  69. },
  70. "animationTime_get":{},
  71. "animationTime_set": {
  72. "parameters": [
  73. "value"
  74. ]
  75. },
  76. "animationDuration_set": {
  77. "parameters": [
  78. "value"
  79. ]
  80. },
  81. "animationRate_set": {
  82. "parameters": [
  83. "value"
  84. ]
  85. },
  86. "animationPlaying_get":{},
  87. "animationPlaying_set": {
  88. "parameters": [
  89. "value"
  90. ]
  91. },
  92. "animationStartTime_set": {
  93. "parameters": [
  94. "value"
  95. ]
  96. },
  97. "animationStopTime_set": {
  98. "parameters": [
  99. "value"
  100. ]
  101. },
  102. "animationStartFrame_get":{},
  103. "animationStartFrame_set": {
  104. "parameters": [
  105. "value"
  106. ]
  107. },
  108. "animationStopFrame_get":{},
  109. "animationStopFrame_set": {
  110. "parameters": [
  111. "value"
  112. ]
  113. },
  114. "animationFrames_get":{},
  115. "animationFrames_set": {
  116. "parameters": [
  117. "value"
  118. ]
  119. },
  120. "animationFrame_get":{},
  121. "animationFrame_set": {
  122. "parameters": [
  123. "value"
  124. ]
  125. }
  126. },
  127. "events": {
  128. "animationStarted": {},
  129. "animationStopped": {},
  130. "animationLooped": {},
  131. "animationTimeChanged": {
  132. "parameters": [
  133. "time"
  134. ]
  135. }
  136. },
  137. "scripts": {
  138. "source": "animation.js"
  139. }
  140. }