aentity.vwf.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. "worldRotation": {},
  97. "worldPosition": {},
  98. "worldScale": {},
  99. "worldDirection": {},
  100. "worldQuaternion": {},
  101. "localQuaternion": {},
  102. "boundingBox": {},
  103. "globalToLocalRotation":{
  104. "parameters": [
  105. "value",
  106. "order"
  107. ]
  108. },
  109. "worldToLocal": {
  110. "parameters": [
  111. "value"
  112. ]
  113. },
  114. "localToWorld": {
  115. "parameters": [
  116. "value"
  117. ]
  118. },
  119. "getChildByName": {
  120. "parameters": [
  121. "name"
  122. ]
  123. },
  124. "setOwner": {
  125. "parameters": [
  126. "propertyValue"
  127. ]
  128. },
  129. "updateMethod": {
  130. "parameters": [
  131. "methodName",
  132. "methodBody",
  133. "params"
  134. ]
  135. },
  136. "callMethod": {
  137. "parameters": [
  138. "methodName",
  139. "params"
  140. ]
  141. },
  142. "onGlobalBeat": {
  143. "parameters": [
  144. "obj"
  145. ]
  146. },
  147. "changeVisual": {},
  148. "resetVisual": {},
  149. "step": {},
  150. "do": {},
  151. "randomize": {},
  152. "nodeDef": {},
  153. "createEditTool": {},
  154. "translationFromValue":{
  155. "parameters": [
  156. "value"
  157. ]
  158. }
  159. },
  160. "scripts": {
  161. "source": "aentity.js"
  162. }
  163. }