a-sound-component.vwf.json 624 B

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "extends": "proxy/aframe/aentityComponent.vwf",
  3. "type": "component",
  4. "properties": {
  5. "autoplay": null,
  6. "distanceModel": null,
  7. "loop": null,
  8. "maxDistance": null,
  9. "on": null,
  10. "poolSize": null,
  11. "refDistance": null,
  12. "rolloffFactor": null,
  13. "src": null,
  14. "volume": null,
  15. "isPlaying": null
  16. },
  17. "methods": {
  18. "stopSound": {},
  19. "playSound": {},
  20. "pauseSound": {},
  21. "refreshSrc": {
  22. "parameters": [
  23. "srcID"
  24. ]
  25. },
  26. "updateSrc": {
  27. "parameters": [
  28. "srcID"
  29. ]
  30. }
  31. },
  32. "scripts": {
  33. "source": "a-sound-component.js"
  34. }
  35. }