xrcontroller.vwf.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "extends": "proxy/aframe/aentity.vwf",
  3. "type": "xrcontroller",
  4. "properties": {},
  5. "methods": {
  6. "initialize": {},
  7. "updateController": {},
  8. "createSimpleController": {},
  9. "showHandSelection":{
  10. "parameters": [
  11. "point"
  12. ]
  13. },
  14. "resetHandSelection":{},
  15. "createControllerFromGLTF": {
  16. "parameters": [
  17. "modelSrc"
  18. ]
  19. },
  20. "createController": {
  21. "parameters": [
  22. "pos",
  23. "modelSrc"
  24. ]
  25. },
  26. "updateVRControl": {
  27. "parameters": [
  28. "position",
  29. "rotation"
  30. ]
  31. },
  32. "triggerdown": {},
  33. "triggerup": {},
  34. "checkDefaultXRCostume":{},
  35. "setControllerNode":
  36. {
  37. "parameters": [
  38. "modelSrc"
  39. ]
  40. },
  41. "saveToScene":{},
  42. "moveVRController":{}
  43. },
  44. "scripts": {
  45. "source": "xrcontroller.js"
  46. }
  47. }