1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- {
- "extends": "proxy/aframe/aentity.vwf",
- "type": "xrcontroller",
- "properties": {
- "dragID": false
- },
- "methods": {
- "initialize": {},
- "updateController": {},
- "createSimpleController": {},
- "showHandSelection":{
- "parameters": [
- "point"
- ]
- },
- "resetHandSelection":{},
- "createControllerFromGLTF": {
- "parameters": [
- "modelSrc"
- ]
- },
- "createController": {
- "parameters": [
- "pos",
- "modelSrc"
- ]
- },
- "updateVRControl": {
- "parameters": [
- "position",
- "rotation"
- ]
- },
- "triggerdown": {
- "parameters": [
- "point",
- "elID",
- "controllerID"
- ]
- },
- "triggerup": {
- "parameters": [
- "point",
- "elID",
- "controllerID"
- ]
- },
- "mousedown": {
- "parameters": [
- "point",
- "elID",
- "controllerID"
- ]
- },
- "mouseup": {
- "parameters": [
- "point",
- "elID",
- "controllerID"
- ]
- },
- "checkDefaultXRCostume":{},
- "setControllerNode":
- {
- "parameters": [
- "modelSrc"
- ]
- },
- "saveToScene":{},
- "moveVRController":{
- "parameters": [
- "idata"
- ]
- },
- "createLocalRaycaster":{}
- },
- "scripts": {
- "source": "xrcontroller.js"
- }
- }
|