xrcontroller.vwf.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "extends": "proxy/aframe/aentity.vwf",
  3. "type": "xrcontroller",
  4. "properties": {
  5. "dragID": false
  6. },
  7. "methods": {
  8. "initialize": {},
  9. "updateController": {},
  10. "createSimpleController": {},
  11. "showHandSelection":{
  12. "parameters": [
  13. "point"
  14. ]
  15. },
  16. "resetHandSelection":{},
  17. "createControllerFromGLTF": {
  18. "parameters": [
  19. "modelSrc"
  20. ]
  21. },
  22. "createController": {
  23. "parameters": [
  24. "pos",
  25. "modelSrc"
  26. ]
  27. },
  28. "updateVRControl": {
  29. "parameters": [
  30. "position",
  31. "rotation"
  32. ]
  33. },
  34. "triggerdown": {
  35. "parameters": [
  36. "point",
  37. "elID",
  38. "controllerID"
  39. ]
  40. },
  41. "triggerup": {
  42. "parameters": [
  43. "point",
  44. "elID",
  45. "controllerID"
  46. ]
  47. },
  48. "mousedown": {
  49. "parameters": [
  50. "point",
  51. "elID",
  52. "controllerID"
  53. ]
  54. },
  55. "mouseup": {
  56. "parameters": [
  57. "point",
  58. "elID",
  59. "controllerID"
  60. ]
  61. },
  62. "checkDefaultXRCostume":{},
  63. "setControllerNode":
  64. {
  65. "parameters": [
  66. "modelSrc"
  67. ]
  68. },
  69. "saveToScene":{},
  70. "moveVRController":{
  71. "parameters": [
  72. "idata"
  73. ]
  74. },
  75. "createLocalRaycaster":{}
  76. },
  77. "scripts": {
  78. "source": "xrcontroller.js"
  79. }
  80. }