(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[587],{3905:function(e,r,t){"use strict";t.d(r,{Zo:function(){return p},kt:function(){return f}});var n=t(7294);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function s(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?i(Object(t),!0).forEach((function(r){o(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function l(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var a=n.createContext({}),d=function(e){var r=n.useContext(a),t=r;return e&&(t="function"==typeof e?e(r):s(s({},r),e)),t},p=function(e){var r=d(e.components);return n.createElement(a.Provider,{value:r},e.children)},u={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},c=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,i=e.originalType,a=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),c=d(t),f=o,m=c["".concat(a,".").concat(f)]||c[f]||u[f]||i;return t?n.createElement(m,s(s({ref:r},p),{},{components:t})):n.createElement(m,s({ref:r},p))}));function f(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var i=t.length,s=new Array(i);s[0]=c;var l={};for(var a in r)hasOwnProperty.call(r,a)&&(l[a]=r[a]);l.originalType=e,l.mdxType="string"==typeof e?e:o,s[1]=l;for(var d=2;d<i;d++)s[d]=t[d];return n.createElement.apply(null,s)}return n.createElement.apply(null,t)}c.displayName="MDXCreateElement"},2499:function(e,r,t){"use strict";t.r(r),t.d(r,{frontMatter:function(){return l},contentTitle:function(){return a},metadata:function(){return d},toc:function(){return p},default:function(){return c}});var n=t(2122),o=t(9756),i=(t(7294),t(3905)),s=["components"],l={},a="SphereField",d={unversionedId:"stardust-protocol/server/types/field/SphereField",id:"stardust-protocol/server/types/field/SphereField",isDocsHomePage:!1,title:"SphereField",description:"Derived from Field",source:"@site/docs/stardust-protocol/server/types/field/SphereField.md",sourceDirName:"stardust-protocol/server/types/field",slug:"/stardust-protocol/server/types/field/SphereField",permalink:"/docs/stardust-protocol/server/types/field/SphereField",editUrl:"https://github.com/StardustXR/website/edit/main/docs/stardust-protocol/server/types/field/SphereField.md",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Field",permalink:"/docs/stardust-protocol/server/types/field/Field"},next:{title:"InputHandler",permalink:"/docs/stardust-protocol/server/types/input/InputHandler"}},p=[{value:"Derived from Field",id:"derived-from-field",children:[]},{value:"Properties",id:"properties",children:[{value:"<code>setRadius(double size)</code>",id:"setradiusdouble-size",children:[]}]}],u={toc:p};function c(e){var r=e.components,t=(0,o.Z)(e,s);return(0,i.kt)("wrapper",(0,n.Z)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"spherefield"},"SphereField"),(0,i.kt)("h3",{id:"derived-from-field"},"Derived from ",(0,i.kt)("a",{parentName:"h3",href:"Field"},"Field")),(0,i.kt)("p",null,"This Field is in a sphere shape."),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"setradiusdouble-size"},(0,i.kt)("inlineCode",{parentName:"h3"},"setRadius(double size)")),(0,i.kt)("p",null,"Sets the radius of the sphere."))}c.isMDXComponent=!0}}]);