a-sound-component.vwf.yaml 492 B

12345678910111213141516171819202122232425262728
  1. # https://aframe.io/docs/master/primitives/a-sound.html
  2. ---
  3. extends: http://vwf.example.com/aframe/aentityComponent.vwf
  4. type: "component"
  5. properties:
  6. autoplay:
  7. distanceModel:
  8. loop:
  9. maxDistance:
  10. on:
  11. poolSize:
  12. refDistance:
  13. rolloffFactor:
  14. src:
  15. volume:
  16. isPlaying:
  17. methods:
  18. stopSound:
  19. playSound:
  20. pauseSound:
  21. refreshSrc:
  22. parameters:
  23. - srcID
  24. updateSrc:
  25. parameters:
  26. - srcID
  27. scripts:
  28. - source: "http://vwf.example.com/aframe/a-sound-component.js"