xrcontroller.vwf.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. "parameters": [
  34. "point",
  35. "elID"
  36. ]
  37. },
  38. "triggerup": {
  39. "parameters": [
  40. "point",
  41. "elID"
  42. ]
  43. },
  44. "mousedown": {
  45. "parameters": [
  46. "point",
  47. "elID"
  48. ]
  49. },
  50. "mouseup": {
  51. "parameters": [
  52. "point",
  53. "elID"
  54. ]
  55. },
  56. "checkDefaultXRCostume":{},
  57. "setControllerNode":
  58. {
  59. "parameters": [
  60. "modelSrc"
  61. ]
  62. },
  63. "saveToScene":{},
  64. "moveVRController":{
  65. "parameters": [
  66. "idata"
  67. ]
  68. },
  69. "createLocalRaycaster":{}
  70. },
  71. "scripts": {
  72. "source": "xrcontroller.js"
  73. }
  74. }