aentity.vwf.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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. "clearIntersectEventMethod": {},
  53. "hitstartEventMethod": {},
  54. "hitendEventMethod": {},
  55. "clickEventMethod": {
  56. "parameters": [
  57. "value"
  58. ]
  59. },
  60. "mousedownEventMethod": {
  61. "parameters": [
  62. "value"
  63. ]
  64. },
  65. "mouseupEventMethod": {
  66. "parameters": [
  67. "value"
  68. ]
  69. },
  70. "sendOSC": {
  71. "parameters": [
  72. "msg"
  73. ]
  74. },
  75. "setGizmoMode": {
  76. "parameters": [
  77. "mode"
  78. ]
  79. },
  80. "showCloseGizmo": {},
  81. "lookAt": {
  82. "parameters": [
  83. "nodeID"
  84. ]
  85. },
  86. "placeInFrontOf":{
  87. "parameters": [
  88. "nodeID",
  89. "distance"
  90. ]
  91. },
  92. "worldRotation": {},
  93. "worldPosition": {},
  94. "worldScale": {},
  95. "worldDirection": {},
  96. "worldQuaternion": {},
  97. "localQuaternion": {},
  98. "boundingBox": {},
  99. "globalToLocalRotation":{
  100. "parameters": [
  101. "value",
  102. "order"
  103. ]
  104. },
  105. "worldToLocal": {
  106. "parameters": [
  107. "value"
  108. ]
  109. },
  110. "localToWorld": {
  111. "parameters": [
  112. "value"
  113. ]
  114. },
  115. "getChildByName": {
  116. "parameters": [
  117. "name"
  118. ]
  119. },
  120. "setOwner": {
  121. "parameters": [
  122. "propertyValue"
  123. ]
  124. },
  125. "updateMethod": {
  126. "parameters": [
  127. "methodName",
  128. "methodBody",
  129. "params"
  130. ]
  131. },
  132. "callMethod": {
  133. "parameters": [
  134. "methodName",
  135. "params"
  136. ]
  137. },
  138. "onGlobalBeat": {
  139. "parameters": [
  140. "obj"
  141. ]
  142. },
  143. "changeVisual": {},
  144. "resetVisual": {},
  145. "step": {},
  146. "do": {},
  147. "randomize": {},
  148. "nodeDef": {},
  149. "createEditTool": {},
  150. "translationFromValue":{
  151. "parameters": [
  152. "value"
  153. ]
  154. }
  155. },
  156. "scripts": {
  157. "source": "aentity.js"
  158. }
  159. }