hand-controls.vwf.yaml 590 B

123456789101112131415161718192021222324
  1. # https://aframe.io/docs/master/components/hand-controls.html
  2. # Copyright 2017 Krestianstvo.org project
  3. ---
  4. extends: http://vwf.example.com/aframe/aentity.vwf
  5. type: "handcontrols"
  6. properties:
  7. methods:
  8. initialize:
  9. updateController:
  10. createSimpleController:
  11. createControllerFromGLTF:
  12. parameters:
  13. - modelSrc
  14. createController:
  15. parameters:
  16. - modelSrc
  17. updateVRControl:
  18. parameters:
  19. - position
  20. - rotation
  21. triggerdown:
  22. triggerup:
  23. scripts:
  24. - source: "http://vwf.example.com/aframe/handcontrols.js"