note.vwf.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "extends": "proxy/aframe/acylinder.vwf",
  3. "implements": "proxy/objects/gui/drag.vwf",
  4. "properties": {
  5. "lockZ": true,
  6. "radius": "0.2",
  7. "height": 0.6,
  8. "position": "0 1 0",
  9. "rotation": [
  10. 0,
  11. 0,
  12. 90
  13. ],
  14. "class": "hit clickable intersectable"
  15. },
  16. "methods": {
  17. "hitstartEventMethod": {},
  18. "hitendEventMethod": {},
  19. "moveAction": {
  20. "parameters": [
  21. "controllerID",
  22. "point"
  23. ]
  24. }
  25. },
  26. "events": {
  27. "clickEvent": {
  28. "body": ""
  29. }
  30. },
  31. "children": {
  32. "material": {
  33. "extends": "proxy/aframe/aMaterialComponent.vwf",
  34. "properties": {
  35. "color": "#3c7249"
  36. }
  37. },
  38. "aabb-collider-listener": {
  39. "extends": "proxy/aframe/app-aabb-collider-listener-component.vwf",
  40. "type": "component",
  41. "properties": {
  42. "dynamic": true
  43. }
  44. },
  45. "cursor-listener": {
  46. "extends": "proxy/aframe/app-cursor-listener-component.vwf",
  47. "type": "component"
  48. },
  49. "raycasterListener": {
  50. "extends": "proxy/aframe/app-raycaster-listener-component.vwf",
  51. "type": "component"
  52. },
  53. "note": {
  54. "extends": "proxy/tonejs/note.vwf",
  55. "properties": {
  56. "note": "C3",
  57. "duration": "8n"
  58. }
  59. },
  60. "text": {
  61. "extends": "proxy/aframe/atext.vwf",
  62. "properties": {
  63. "value": "note",
  64. "color": "white",
  65. "position": [
  66. 0,
  67. 0.2,
  68. 0.3
  69. ],
  70. "rotation": [
  71. 0,
  72. 0,
  73. -90
  74. ]
  75. }
  76. },
  77. "propGUI": {
  78. "extends": "proxy/node.vwf",
  79. "properties": {
  80. "radius_max": 1.0,
  81. "radius_min": 0.01,
  82. "radius_step": 0.05,
  83. "height_max": 10.0,
  84. "height_min": 0.1,
  85. "height_step": 0.1
  86. }
  87. },
  88. "interpolation": {
  89. "extends": "proxy/aframe/interpolation-component.vwf",
  90. "type": "component",
  91. "properties": {
  92. "enabled": true
  93. }
  94. }
  95. },
  96. "scripts": {
  97. "source": "/proxy/objects/music/note.js"
  98. }
  99. }