aentity.vwf.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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": {
  10. "set": "this.position_set(value)",
  11. "get": "return this.position_get()"
  12. },
  13. "rotation": {
  14. "set": "this.rotation_set(value)",
  15. "get": "return this.rotation_get()"
  16. },
  17. "scale": {
  18. "set": "this.scale_set(value)",
  19. "get": "return this.scale_get()"
  20. },
  21. "clickable": null,
  22. "displayName": null,
  23. "visible": null,
  24. "edit": null,
  25. "osc": null,
  26. "ownedBy": null,
  27. "class": null,
  28. "stepping": null,
  29. "stepTime": null,
  30. "globalBeat": null,
  31. "meta": null
  32. },
  33. "events": {
  34. "positionChanged": {},
  35. "rotationChanged": {},
  36. "scaleChanged": {},
  37. "sendOSC": {},
  38. "intersectEvent": {},
  39. "clearIntersectEvent": {},
  40. "hitstartEvent": {},
  41. "hitendEvent": {},
  42. "clickEvent": {}
  43. },
  44. "methods": {
  45. "position_get":{},
  46. "position_set": {
  47. "parameters": [
  48. "value"
  49. ]
  50. },
  51. "rotation_get":{},
  52. "rotation_set": {
  53. "parameters": [
  54. "value"
  55. ]
  56. },
  57. "scale_get":{},
  58. "scale_set": {
  59. "parameters": [
  60. "value"
  61. ]
  62. },
  63. "getRandomColor": {},
  64. "intersectEventMethod": {},
  65. "clearIntersectEventMethod": {},
  66. "hitstartEventMethod": {},
  67. "hitendEventMethod": {},
  68. "clickEventMethod": {},
  69. "sendOSC": {
  70. "parameters": [
  71. "msg"
  72. ]
  73. },
  74. "setGizmoMode": {
  75. "parameters": [
  76. "mode"
  77. ]
  78. },
  79. "showCloseGizmo": {},
  80. "lookAt": {
  81. "parameters": [
  82. "nodeID"
  83. ]
  84. },
  85. "worldRotation": {},
  86. "worldPosition": {},
  87. "translationFromValue": {
  88. "parameters": [
  89. "propertyValue"
  90. ]
  91. },
  92. "getChildByName": {
  93. "parameters": [
  94. "name"
  95. ]
  96. },
  97. "setOwner": {
  98. "parameters": [
  99. "propertyValue"
  100. ]
  101. },
  102. "updateMethod": {
  103. "parameters": [
  104. "methodName",
  105. "methodBody",
  106. "params"
  107. ]
  108. },
  109. "callMethod": {
  110. "parameters": [
  111. "methodName",
  112. "params"
  113. ]
  114. },
  115. "onGlobalBeat": {
  116. "parameters": [
  117. "obj"
  118. ]
  119. },
  120. "changeVisual": {},
  121. "resetVisual": {},
  122. "step": {},
  123. "do": {},
  124. "randomize": {},
  125. "nodeDef": {}
  126. },
  127. "scripts": {
  128. "source": "aentity.js"
  129. }
  130. }