aentity.vwf.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. {
  2. "extends": "proxy/aframe/node.vwf",
  3. "type": "a-entity",
  4. "implements": [
  5. "proxy/animation/animation.vwf",
  6. "proxy/animation/animationNode.vwf"
  7. ],
  8. "properties": {
  9. "position": null,
  10. "rotation": null,
  11. "scale": null,
  12. "clickable": null,
  13. "displayName": null,
  14. "visible": null,
  15. "edit": null,
  16. "osc": null,
  17. "ownedBy": null,
  18. "class": null,
  19. "stepping": null,
  20. "stepTime": null,
  21. "globalBeat": null,
  22. "meta": null
  23. },
  24. "events": {
  25. "positionChanged": {},
  26. "rotationChanged": {},
  27. "scaleChanged": {},
  28. "sendOSC": {},
  29. "intersectEvent": {},
  30. "clearIntersectEvent": {},
  31. "hitstartEvent": {},
  32. "hitendEvent": {},
  33. "clickEvent": {
  34. "parameters": [
  35. "value"
  36. ]
  37. },
  38. "mousedownEvent": {
  39. "parameters": [
  40. "value"
  41. ]
  42. },
  43. "mouseupEvent": {
  44. "parameters": [
  45. "value"
  46. ]
  47. }
  48. },
  49. "methods": {
  50. "getRandomColor": {},
  51. "intersectEventMethod": {
  52. "parameters": [
  53. "point"
  54. ]
  55. },
  56. "clearIntersectEventMethod": {},
  57. "hitstartEventMethod": {},
  58. "hitendEventMethod": {},
  59. "clickEventMethod": {
  60. "parameters": [
  61. "value"
  62. ]
  63. },
  64. "mousedownEventMethod": {
  65. "parameters": [
  66. "value"
  67. ]
  68. },
  69. "mouseupEventMethod": {
  70. "parameters": [
  71. "value"
  72. ]
  73. },
  74. "sendOSC": {
  75. "parameters": [
  76. "msg"
  77. ]
  78. },
  79. "setGizmoMode": {
  80. "parameters": [
  81. "mode"
  82. ]
  83. },
  84. "showCloseGizmo": {},
  85. "lookAt": {
  86. "parameters": [
  87. "nodeID"
  88. ]
  89. },
  90. "placeInFrontOf":{
  91. "parameters": [
  92. "nodeID",
  93. "distance"
  94. ]
  95. },
  96. "applyMatrix":{
  97. "parameters": [
  98. "value"
  99. ]
  100. },
  101. "getMatrix": {},
  102. "worldRotation": {},
  103. "worldPosition": {},
  104. "worldScale": {},
  105. "worldDirection": {},
  106. "worldQuaternion": {},
  107. "localQuaternion": {},
  108. "boundingBox": {},
  109. "globalToLocalRotation":{
  110. "parameters": [
  111. "value",
  112. "order"
  113. ]
  114. },
  115. "worldToLocal": {
  116. "parameters": [
  117. "value"
  118. ]
  119. },
  120. "localToWorld": {
  121. "parameters": [
  122. "value"
  123. ]
  124. },
  125. "getChildByName": {
  126. "parameters": [
  127. "name"
  128. ]
  129. },
  130. "setOwner": {
  131. "parameters": [
  132. "propertyValue"
  133. ]
  134. },
  135. "updateMethod": {
  136. "parameters": [
  137. "methodName",
  138. "methodBody",
  139. "params"
  140. ]
  141. },
  142. "callMethod": {
  143. "parameters": [
  144. "methodName",
  145. "params"
  146. ]
  147. },
  148. "onGlobalBeat": {
  149. "parameters": [
  150. "obj"
  151. ]
  152. },
  153. "changeVisual": {},
  154. "resetVisual": {},
  155. "step": {},
  156. "do": {},
  157. "randomize": {},
  158. "nodeDef": {},
  159. "createEditTool": {},
  160. "translationFromValue":{
  161. "parameters": [
  162. "value"
  163. ]
  164. },
  165. "doButtonTriggerdownAction":{
  166. "parameters": [
  167. "value"
  168. ]
  169. },
  170. "triggerdownAction":{},
  171. "triggerupAction":{},
  172. "mousedownAction":{},
  173. "mouseupAction":{}
  174. },
  175. "scripts": {
  176. "source": "aentity.js"
  177. }
  178. }