"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[672],{3905:function(e,t,r){r.d(t,{Zo:function(){return d},kt:function(){return f}});var n=r(7294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=n.createContext({}),l=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},d=function(e){var t=l(e.components);return n.createElement(c.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,c=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),u=l(r),f=i,m=u["".concat(c,".").concat(f)]||u[f]||p[f]||a;return r?n.createElement(m,o(o({ref:t},d),{},{components:r})):n.createElement(m,o({ref:t},d))}));function f(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=u;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s.mdxType="string"==typeof e?e:i,o[1]=s;for(var l=2;lcreateBoxField(string name, string spacePath, Vector3 origin, Quaternion orientation, Vector3 size)",id:"createboxfieldstring-name-string-spacepath-vector3-origin-quaternion-orientation-vector3-size",children:[]},{value:"createCylinderField(string name, string spacePath, Vector3 origin, Quaternion orientation, float length, float radius)",id:"createcylinderfieldstring-name-string-spacepath-vector3-origin-quaternion-orientation-float-length-float-radius",children:[]},{value:"createSphereField(string name, string spacePath, Vector3 origin, float radius)",id:"createspherefieldstring-name-string-spacepath-vector3-origin-float-radius",children:[]}]}],p={toc:d};function u(e){var t=e.components,r=(0,i.Z)(e,o);return(0,a.kt)("wrapper",(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"field"},"/field"),(0,a.kt)("p",null,"Object managing fields for interaction."),(0,a.kt)("h2",{id:"signals"},"Signals"),(0,a.kt)("h3",{id:"createboxfieldstring-name-string-spacepath-vector3-origin-quaternion-orientation-vector3-size"},(0,a.kt)("inlineCode",{parentName:"h3"},"createBoxField(string name, string spacePath, Vector3 origin, Quaternion orientation, Vector3 size)")),(0,a.kt)("p",null,"Creates a new ",(0,a.kt)("a",{parentName:"p",href:"/docs/stardust-protocol/server/types/field/BoxField"},"BoxField")," at ",(0,a.kt)("inlineCode",{parentName:"p"},"/field/[name]")," with parent at ",(0,a.kt)("inlineCode",{parentName:"p"},"spacePath"),"."),(0,a.kt)("h3",{id:"createcylinderfieldstring-name-string-spacepath-vector3-origin-quaternion-orientation-float-length-float-radius"},(0,a.kt)("inlineCode",{parentName:"h3"},"createCylinderField(string name, string spacePath, Vector3 origin, Quaternion orientation, float length, float radius)")),(0,a.kt)("p",null,"Creates a new ",(0,a.kt)("a",{parentName:"p",href:"/docs/stardust-protocol/server/types/field/CylinderField"},"CylinderField")," at ",(0,a.kt)("inlineCode",{parentName:"p"},"/field/[name]")," with parent at ",(0,a.kt)("inlineCode",{parentName:"p"},"spacePath"),"."),(0,a.kt)("h3",{id:"createspherefieldstring-name-string-spacepath-vector3-origin-float-radius"},(0,a.kt)("inlineCode",{parentName:"h3"},"createSphereField(string name, string spacePath, Vector3 origin, float radius)")),(0,a.kt)("p",null,"Creates a new ",(0,a.kt)("a",{parentName:"p",href:"/docs/stardust-protocol/server/types/field/SphereField"},"SphereField")," at ",(0,a.kt)("inlineCode",{parentName:"p"},"/field/[name]")," with parent at ",(0,a.kt)("inlineCode",{parentName:"p"},"spacePath"),"."))}u.isMDXComponent=!0}}]);