aentity.vwf.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  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. "fromhitstartEvent": {
  34. "parameters": [
  35. "value"
  36. ]
  37. },
  38. "fromhitendEvent": {
  39. "parameters": [
  40. "value"
  41. ]
  42. },
  43. "clickEvent": {
  44. "parameters": [
  45. "value"
  46. ]
  47. },
  48. "mousedownEvent": {
  49. "parameters": [
  50. "value"
  51. ]
  52. },
  53. "mouseupEvent": {
  54. "parameters": [
  55. "value"
  56. ]
  57. }
  58. },
  59. "methods": {
  60. "getRandomColor": {},
  61. "intersectEventMethod": {
  62. "parameters": [
  63. "point"
  64. ]
  65. },
  66. "clearIntersectEventMethod": {},
  67. "hitstartEventMethod": {},
  68. "hitendEventMethod": {},
  69. "clickEventMethod": {
  70. "parameters": [
  71. "value"
  72. ]
  73. },
  74. "mousedownEventMethod": {
  75. "parameters": [
  76. "value"
  77. ]
  78. },
  79. "mouseupEventMethod": {
  80. "parameters": [
  81. "value"
  82. ]
  83. },
  84. "sendOSC": {
  85. "parameters": [
  86. "msg"
  87. ]
  88. },
  89. "setGizmoMode": {
  90. "parameters": [
  91. "mode"
  92. ]
  93. },
  94. "showCloseGizmo": {},
  95. "lookAt": {
  96. "parameters": [
  97. "nodeID"
  98. ]
  99. },
  100. "placeInFrontOf":{
  101. "parameters": [
  102. "nodeID",
  103. "distance"
  104. ]
  105. },
  106. "applyMatrix":{
  107. "parameters": [
  108. "value"
  109. ]
  110. },
  111. "getMatrix": {},
  112. "worldRotation": {},
  113. "worldPosition": {},
  114. "worldScale": {},
  115. "worldDirection": {},
  116. "worldQuaternion": {},
  117. "localQuaternion": {},
  118. "boundingBox": {},
  119. "globalToLocalRotation":{
  120. "parameters": [
  121. "value",
  122. "order"
  123. ]
  124. },
  125. "worldToLocal": {
  126. "parameters": [
  127. "value"
  128. ]
  129. },
  130. "localToWorld": {
  131. "parameters": [
  132. "value"
  133. ]
  134. },
  135. "getChildByName": {
  136. "parameters": [
  137. "name"
  138. ]
  139. },
  140. "setOwner": {
  141. "parameters": [
  142. "propertyValue"
  143. ]
  144. },
  145. "updateMethod": {
  146. "parameters": [
  147. "methodName",
  148. "methodBody",
  149. "params"
  150. ]
  151. },
  152. "callMethod": {
  153. "parameters": [
  154. "methodName",
  155. "params"
  156. ]
  157. },
  158. "onGlobalBeat": {
  159. "parameters": [
  160. "obj"
  161. ]
  162. },
  163. "createChild": {
  164. "parameters": [
  165. "id","nodeDef"
  166. ]
  167. },
  168. "createChildComponent": {
  169. "parameters": [
  170. "name","nodeDef"
  171. ]
  172. },
  173. "changeVisual": {},
  174. "resetVisual": {},
  175. "step": {},
  176. "do": {},
  177. "randomize": {},
  178. "nodeDef": {},
  179. "createEditTool": {},
  180. "translationFromValue":{
  181. "parameters": [
  182. "value"
  183. ]
  184. },
  185. "doButtonTriggerdownAction":{
  186. "parameters": [
  187. "buttonID", "controllerID", "point"
  188. ]
  189. },
  190. "doButtonTriggerupAction":{
  191. "parameters": [
  192. "value",
  193. "controllerID"
  194. ]
  195. },
  196. "triggerdownAction":{},
  197. "triggerupAction":{},
  198. "mousedownAction":{},
  199. "mouseupAction":{},
  200. "positionChanged":{},
  201. "setPosition":{
  202. "parameters": [
  203. "value"
  204. ]
  205. }
  206. },
  207. "scripts": {
  208. "source": "aentity.js"
  209. }
  210. }