animation.vwf.json 2.9 KB

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