(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[993],{3905:function(t,e,r){"use strict";r.d(e,{Zo:function(){return p},kt:function(){return f}});var n=r(7294);function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function a(t){for(var e=1;e=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var s=n.createContext({}),l=function(t){var e=n.useContext(s),r=e;return t&&(r="function"==typeof t?t(e):a(a({},e),t)),r},p=function(t){var e=l(t.components);return n.createElement(s.Provider,{value:e},t.children)},u={inlineCode:"code",wrapper:function(t){var e=t.children;return n.createElement(n.Fragment,{},e)}},d=n.forwardRef((function(t,e){var r=t.components,i=t.mdxType,o=t.originalType,s=t.parentName,p=c(t,["components","mdxType","originalType","parentName"]),d=l(r),f=i,g=d["".concat(s,".").concat(f)]||d[f]||u[f]||o;return r?n.createElement(g,a(a({ref:e},p),{},{components:r})):n.createElement(g,a({ref:e},p))}));function f(t,e){var r=arguments,i=e&&e.mdxType;if("string"==typeof t||i){var o=r.length,a=new Array(o);a[0]=d;var c={};for(var s in e)hasOwnProperty.call(e,s)&&(c[s]=e[s]);c.originalType=t,c.mdxType="string"==typeof t?t:i,a[1]=c;for(var l=2;lregisterPointerInput(string name, Vector3 origin, Vector3 direction, float tilt)",id:"registerpointerinputstring-name-vector3-origin-vector3-direction-float-tilt",children:[]},{value:"registerInputHandler(string name, string field, string spacePath, Vector3 position, Quat rotation, string callbackPath, string callbackMethod)",id:"registerinputhandlerstring-name-string-field-string-spacepath-vector3-position-quat-rotation-string-callbackpath-string-callbackmethod",children:[]}]}],u={toc:p};function d(t){var e=t.components,r=(0,i.Z)(t,a);return(0,o.kt)("wrapper",(0,n.Z)({},u,r,{components:e,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"input"},"/input"),(0,o.kt)("p",null,"Object managing input and interaction."),(0,o.kt)("h2",{id:"signals"},"Signals"),(0,o.kt)("h3",{id:"registerpointerinputstring-name-vector3-origin-vector3-direction-float-tilt"},(0,o.kt)("inlineCode",{parentName:"h3"},"registerPointerInput(string name, Vector3 origin, Vector3 direction, float tilt)")),(0,o.kt)("p",null,"Creates a new [","[Pointerinput]","] at ",(0,o.kt)("inlineCode",{parentName:"p"},"/input/methods/[name]")," with the origin, direction, and tilt specified."),(0,o.kt)("h3",{id:"registerinputhandlerstring-name-string-field-string-spacepath-vector3-position-quat-rotation-string-callbackpath-string-callbackmethod"},(0,o.kt)("inlineCode",{parentName:"h3"},"registerInputHandler(string name, string field, string spacePath, Vector3 position, Quat rotation, string callbackPath, string callbackMethod)")),(0,o.kt)("p",null,"Creates a new [","[InputHandler]","] with the specified ",(0,o.kt)("inlineCode",{parentName:"p"},"name")," and ",(0,o.kt)("inlineCode",{parentName:"p"},"field"),", located relative to the space referenced in ",(0,o.kt)("inlineCode",{parentName:"p"},"spacePath")," and the ",(0,o.kt)("inlineCode",{parentName:"p"},"postion")," + ",(0,o.kt)("inlineCode",{parentName:"p"},"rotation"),"."))}d.isMDXComponent=!0}}]);