deploy: f6f7782479
This commit is contained in:
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
@@ -1 +1 @@
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[505],{3905:function(e,r,t){t.d(r,{Zo:function(){return a},kt:function(){return f}});var n=t(7294);function i(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(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 l(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?o(Object(t),!0).forEach((function(r){i(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function d(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(i[t]=e[t]);return i}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var s=n.createContext({}),c=function(e){var r=n.useContext(s),t=r;return e&&(t="function"==typeof e?e(r):l(l({},r),e)),t},a=function(e){var r=c(e.components);return n.createElement(s.Provider,{value:r},e.children)},p={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},u=n.forwardRef((function(e,r){var t=e.components,i=e.mdxType,o=e.originalType,s=e.parentName,a=d(e,["components","mdxType","originalType","parentName"]),u=c(t),f=i,y=u["".concat(s,".").concat(f)]||u[f]||p[f]||o;return t?n.createElement(y,l(l({ref:r},a),{},{components:t})):n.createElement(y,l({ref:r},a))}));function f(e,r){var t=arguments,i=r&&r.mdxType;if("string"==typeof e||i){var o=t.length,l=new Array(o);l[0]=u;var d={};for(var s in r)hasOwnProperty.call(r,s)&&(d[s]=r[s]);d.originalType=e,d.mdxType="string"==typeof e?e:i,l[1]=d;for(var c=2;c<o;c++)l[c]=t[c];return n.createElement.apply(null,l)}return n.createElement.apply(null,t)}u.displayName="MDXCreateElement"},4169:function(e,r,t){t.r(r),t.d(r,{frontMatter:function(){return d},contentTitle:function(){return s},metadata:function(){return c},toc:function(){return a},default:function(){return u}});var n=t(7462),i=t(3366),o=(t(7294),t(3905)),l=["components"],d={},s="CylinderField",c={unversionedId:"stardust-protocol/server/types/field/CylinderField",id:"stardust-protocol/server/types/field/CylinderField",isDocsHomePage:!1,title:"CylinderField",description:"Derived from Field",source:"@site/docs/stardust-protocol/server/types/field/CylinderField.md",sourceDirName:"stardust-protocol/server/types/field",slug:"/stardust-protocol/server/types/field/CylinderField",permalink:"/docs/stardust-protocol/server/types/field/CylinderField",editUrl:"https://github.com/StardustXR/website/edit/main/docs/stardust-protocol/server/types/field/CylinderField.md",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"BoxField",permalink:"/docs/stardust-protocol/server/types/field/BoxField"},next:{title:"Field",permalink:"/docs/stardust-protocol/server/types/field/Field"}},a=[{value:"Derived from Field",id:"derived-from-field",children:[]},{value:"Properties",id:"properties",children:[{value:"<code>setSize(Vector3 size)</code>",id:"setsizevector3-size",children:[]}]}],p={toc:a};function u(e){var r=e.components,t=(0,i.Z)(e,l);return(0,o.kt)("wrapper",(0,n.Z)({},p,t,{components:r,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"cylinderfield"},"CylinderField"),(0,o.kt)("h3",{id:"derived-from-field"},"Derived from ",(0,o.kt)("a",{parentName:"h3",href:"Field"},"Field")),(0,o.kt)("p",null,"A cylinder shaped field defined by radius and length, along the forward vector."),(0,o.kt)("h2",{id:"properties"},"Properties"),(0,o.kt)("h3",{id:"setsizevector3-size"},(0,o.kt)("inlineCode",{parentName:"h3"},"setSize(Vector3 size)")),(0,o.kt)("p",null,"Sets the size of the box."))}u.isMDXComponent=!0}}]);
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[505],{3905:function(e,r,t){t.d(r,{Zo:function(){return a},kt:function(){return f}});var n=t(7294);function i(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(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 l(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?o(Object(t),!0).forEach((function(r){i(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function d(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(i[t]=e[t]);return i}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var s=n.createContext({}),c=function(e){var r=n.useContext(s),t=r;return e&&(t="function"==typeof e?e(r):l(l({},r),e)),t},a=function(e){var r=c(e.components);return n.createElement(s.Provider,{value:r},e.children)},p={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},u=n.forwardRef((function(e,r){var t=e.components,i=e.mdxType,o=e.originalType,s=e.parentName,a=d(e,["components","mdxType","originalType","parentName"]),u=c(t),f=i,y=u["".concat(s,".").concat(f)]||u[f]||p[f]||o;return t?n.createElement(y,l(l({ref:r},a),{},{components:t})):n.createElement(y,l({ref:r},a))}));function f(e,r){var t=arguments,i=r&&r.mdxType;if("string"==typeof e||i){var o=t.length,l=new Array(o);l[0]=u;var d={};for(var s in r)hasOwnProperty.call(r,s)&&(d[s]=r[s]);d.originalType=e,d.mdxType="string"==typeof e?e:i,l[1]=d;for(var c=2;c<o;c++)l[c]=t[c];return n.createElement.apply(null,l)}return n.createElement.apply(null,t)}u.displayName="MDXCreateElement"},4169:function(e,r,t){t.r(r),t.d(r,{contentTitle:function(){return s},default:function(){return u},frontMatter:function(){return d},metadata:function(){return c},toc:function(){return a}});var n=t(7462),i=t(3366),o=(t(7294),t(3905)),l=["components"],d={},s="CylinderField",c={unversionedId:"stardust-protocol/server/types/field/CylinderField",id:"stardust-protocol/server/types/field/CylinderField",isDocsHomePage:!1,title:"CylinderField",description:"Derived from Field",source:"@site/docs/stardust-protocol/server/types/field/CylinderField.md",sourceDirName:"stardust-protocol/server/types/field",slug:"/stardust-protocol/server/types/field/CylinderField",permalink:"/docs/stardust-protocol/server/types/field/CylinderField",editUrl:"https://github.com/StardustXR/website/edit/main/docs/stardust-protocol/server/types/field/CylinderField.md",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"BoxField",permalink:"/docs/stardust-protocol/server/types/field/BoxField"},next:{title:"Field",permalink:"/docs/stardust-protocol/server/types/field/Field"}},a=[{value:"Derived from Field",id:"derived-from-field",children:[]},{value:"Properties",id:"properties",children:[{value:"<code>setSize(Vector3 size)</code>",id:"setsizevector3-size",children:[]}]}],p={toc:a};function u(e){var r=e.components,t=(0,i.Z)(e,l);return(0,o.kt)("wrapper",(0,n.Z)({},p,t,{components:r,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"cylinderfield"},"CylinderField"),(0,o.kt)("h3",{id:"derived-from-field"},"Derived from ",(0,o.kt)("a",{parentName:"h3",href:"Field"},"Field")),(0,o.kt)("p",null,"A cylinder shaped field defined by radius and length, along the forward vector."),(0,o.kt)("h2",{id:"properties"},"Properties"),(0,o.kt)("h3",{id:"setsizevector3-size"},(0,o.kt)("inlineCode",{parentName:"h3"},"setSize(Vector3 size)")),(0,o.kt)("p",null,"Sets the size of the box."))}u.isMDXComponent=!0}}]);
|
||||
@@ -1 +1 @@
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[347],{3905:function(e,t,r){r.d(t,{Zo:function(){return p},kt:function(){return f}});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(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 s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n<c.length;n++)r=c[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n<c.length;n++)r=c[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var a=n.createContext({}),u=function(e){var t=n.useContext(a),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(a.Provider,{value:t},e.children)},l={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,a=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),d=u(r),f=o,m=d["".concat(a,".").concat(f)]||d[f]||l[f]||c;return r?n.createElement(m,s(s({ref:t},p),{},{components:r})):n.createElement(m,s({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,s=new Array(c);s[0]=d;var i={};for(var a in t)hasOwnProperty.call(t,a)&&(i[a]=t[a]);i.originalType=e,i.mdxType="string"==typeof e?e:o,s[1]=i;for(var u=2;u<c;u++)s[u]=r[u];return n.createElement.apply(null,s)}return n.createElement.apply(null,r)}d.displayName="MDXCreateElement"},7869:function(e,t,r){r.r(t),r.d(t,{frontMatter:function(){return i},contentTitle:function(){return a},metadata:function(){return u},toc:function(){return p},default:function(){return d}});var n=r(7462),o=r(3366),c=(r(7294),r(3905)),s=["components"],i={},a="/hmd",u={unversionedId:"stardust-protocol/server/objects/hmd",id:"stardust-protocol/server/objects/hmd",isDocsHomePage:!1,title:"/hmd",description:"Reference object to the HMD being used to render content and track head position. This does not currently work, but is planned to.",source:"@site/docs/stardust-protocol/server/objects/hmd.md",sourceDirName:"stardust-protocol/server/objects",slug:"/stardust-protocol/server/objects/hmd",permalink:"/docs/stardust-protocol/server/objects/hmd",editUrl:"https://github.com/StardustXR/website/edit/main/docs/stardust-protocol/server/objects/hmd.md",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"/field",permalink:"/docs/stardust-protocol/server/objects/field"},next:{title:"/input",permalink:"/docs/stardust-protocol/server/objects/input"}},p=[],l={toc:p};function d(e){var t=e.components,r=(0,o.Z)(e,s);return(0,c.kt)("wrapper",(0,n.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,c.kt)("h1",{id:"hmd"},"/hmd"),(0,c.kt)("p",null,"Reference object to the HMD being used to render content and track head position. This does not currently work, but is planned to."))}d.isMDXComponent=!0}}]);
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[347],{3905:function(e,t,r){r.d(t,{Zo:function(){return p},kt:function(){return f}});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(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 s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n<c.length;n++)r=c[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n<c.length;n++)r=c[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var a=n.createContext({}),u=function(e){var t=n.useContext(a),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(a.Provider,{value:t},e.children)},l={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,a=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),d=u(r),f=o,m=d["".concat(a,".").concat(f)]||d[f]||l[f]||c;return r?n.createElement(m,s(s({ref:t},p),{},{components:r})):n.createElement(m,s({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,s=new Array(c);s[0]=d;var i={};for(var a in t)hasOwnProperty.call(t,a)&&(i[a]=t[a]);i.originalType=e,i.mdxType="string"==typeof e?e:o,s[1]=i;for(var u=2;u<c;u++)s[u]=r[u];return n.createElement.apply(null,s)}return n.createElement.apply(null,r)}d.displayName="MDXCreateElement"},7869:function(e,t,r){r.r(t),r.d(t,{contentTitle:function(){return a},default:function(){return d},frontMatter:function(){return i},metadata:function(){return u},toc:function(){return p}});var n=r(7462),o=r(3366),c=(r(7294),r(3905)),s=["components"],i={},a="/hmd",u={unversionedId:"stardust-protocol/server/objects/hmd",id:"stardust-protocol/server/objects/hmd",isDocsHomePage:!1,title:"/hmd",description:"Reference object to the HMD being used to render content and track head position. This does not currently work, but is planned to.",source:"@site/docs/stardust-protocol/server/objects/hmd.md",sourceDirName:"stardust-protocol/server/objects",slug:"/stardust-protocol/server/objects/hmd",permalink:"/docs/stardust-protocol/server/objects/hmd",editUrl:"https://github.com/StardustXR/website/edit/main/docs/stardust-protocol/server/objects/hmd.md",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"/field",permalink:"/docs/stardust-protocol/server/objects/field"},next:{title:"/input",permalink:"/docs/stardust-protocol/server/objects/input"}},p=[],l={toc:p};function d(e){var t=e.components,r=(0,o.Z)(e,s);return(0,c.kt)("wrapper",(0,n.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,c.kt)("h1",{id:"hmd"},"/hmd"),(0,c.kt)("p",null,"Reference object to the HMD being used to render content and track head position. This does not currently work, but is planned to."))}d.isMDXComponent=!0}}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[351],{3905:function(e,t,r){r.d(t,{Zo:function(){return d},kt:function(){return f}});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(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 s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),a=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},d=function(e){var t=a(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,o=e.mdxType,i=e.originalType,c=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),u=a(r),f=o,m=u["".concat(c,".").concat(f)]||u[f]||p[f]||i;return r?n.createElement(m,s(s({ref:t},d),{},{components:r})):n.createElement(m,s({ref:t},d))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,s=new Array(i);s[0]=u;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l.mdxType="string"==typeof e?e:o,s[1]=l;for(var a=2;a<i;a++)s[a]=r[a];return n.createElement.apply(null,s)}return n.createElement.apply(null,r)}u.displayName="MDXCreateElement"},6313:function(e,t,r){r.r(t),r.d(t,{frontMatter:function(){return l},contentTitle:function(){return c},metadata:function(){return a},toc:function(){return d},default:function(){return u}});var n=r(7462),o=r(3366),i=(r(7294),r(3905)),s=["components"],l={},c="BoxField",a={unversionedId:"stardust-protocol/server/types/field/BoxField",id:"stardust-protocol/server/types/field/BoxField",isDocsHomePage:!1,title:"BoxField",description:"Derived from Field",source:"@site/docs/stardust-protocol/server/types/field/BoxField.md",sourceDirName:"stardust-protocol/server/types/field",slug:"/stardust-protocol/server/types/field/BoxField",permalink:"/docs/stardust-protocol/server/types/field/BoxField",editUrl:"https://github.com/StardustXR/website/edit/main/docs/stardust-protocol/server/types/field/BoxField.md",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Model",permalink:"/docs/stardust-protocol/server/types/Model"},next:{title:"CylinderField",permalink:"/docs/stardust-protocol/server/types/field/CylinderField"}},d=[{value:"Derived from Field",id:"derived-from-field",children:[]},{value:"Properties",id:"properties",children:[{value:"<code>setSize(Vector3 size)</code>",id:"setsizevector3-size",children:[]}]}],p={toc:d};function u(e){var t=e.components,r=(0,o.Z)(e,s);return(0,i.kt)("wrapper",(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"boxfield"},"BoxField"),(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 rectangular prism shape."),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"setsizevector3-size"},(0,i.kt)("inlineCode",{parentName:"h3"},"setSize(Vector3 size)")),(0,i.kt)("p",null,"Sets the size of the box."))}u.isMDXComponent=!0}}]);
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[351],{3905:function(e,t,r){r.d(t,{Zo:function(){return d},kt:function(){return f}});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(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 s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),a=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},d=function(e){var t=a(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,o=e.mdxType,i=e.originalType,c=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),u=a(r),f=o,m=u["".concat(c,".").concat(f)]||u[f]||p[f]||i;return r?n.createElement(m,s(s({ref:t},d),{},{components:r})):n.createElement(m,s({ref:t},d))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,s=new Array(i);s[0]=u;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l.mdxType="string"==typeof e?e:o,s[1]=l;for(var a=2;a<i;a++)s[a]=r[a];return n.createElement.apply(null,s)}return n.createElement.apply(null,r)}u.displayName="MDXCreateElement"},6313:function(e,t,r){r.r(t),r.d(t,{contentTitle:function(){return c},default:function(){return u},frontMatter:function(){return l},metadata:function(){return a},toc:function(){return d}});var n=r(7462),o=r(3366),i=(r(7294),r(3905)),s=["components"],l={},c="BoxField",a={unversionedId:"stardust-protocol/server/types/field/BoxField",id:"stardust-protocol/server/types/field/BoxField",isDocsHomePage:!1,title:"BoxField",description:"Derived from Field",source:"@site/docs/stardust-protocol/server/types/field/BoxField.md",sourceDirName:"stardust-protocol/server/types/field",slug:"/stardust-protocol/server/types/field/BoxField",permalink:"/docs/stardust-protocol/server/types/field/BoxField",editUrl:"https://github.com/StardustXR/website/edit/main/docs/stardust-protocol/server/types/field/BoxField.md",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Model",permalink:"/docs/stardust-protocol/server/types/Model"},next:{title:"CylinderField",permalink:"/docs/stardust-protocol/server/types/field/CylinderField"}},d=[{value:"Derived from Field",id:"derived-from-field",children:[]},{value:"Properties",id:"properties",children:[{value:"<code>setSize(Vector3 size)</code>",id:"setsizevector3-size",children:[]}]}],p={toc:d};function u(e){var t=e.components,r=(0,o.Z)(e,s);return(0,i.kt)("wrapper",(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"boxfield"},"BoxField"),(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 rectangular prism shape."),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"setsizevector3-size"},(0,i.kt)("inlineCode",{parentName:"h3"},"setSize(Vector3 size)")),(0,i.kt)("p",null,"Sets the size of the box."))}u.isMDXComponent=!0}}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[659],{3905:function(t,e,n){n.d(e,{Zo:function(){return s},kt:function(){return d}});var r=n(7294);function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var l=r.createContext({}),u=function(t){var e=r.useContext(l),n=e;return t&&(n="function"==typeof t?t(e):c(c({},e),t)),n},s=function(t){var e=u(t.components);return r.createElement(l.Provider,{value:e},t.children)},p={inlineCode:"code",wrapper:function(t){var e=t.children;return r.createElement(r.Fragment,{},e)}},f=r.forwardRef((function(t,e){var n=t.components,o=t.mdxType,i=t.originalType,l=t.parentName,s=a(t,["components","mdxType","originalType","parentName"]),f=u(n),d=o,m=f["".concat(l,".").concat(d)]||f[d]||p[d]||i;return n?r.createElement(m,c(c({ref:e},s),{},{components:n})):r.createElement(m,c({ref:e},s))}));function d(t,e){var n=arguments,o=e&&e.mdxType;if("string"==typeof t||o){var i=n.length,c=new Array(i);c[0]=f;var a={};for(var l in e)hasOwnProperty.call(e,l)&&(a[l]=e[l]);a.originalType=t,a.mdxType="string"==typeof t?t:o,c[1]=a;for(var u=2;u<i;u++)c[u]=n[u];return r.createElement.apply(null,c)}return r.createElement.apply(null,n)}f.displayName="MDXCreateElement"},1945:function(t,e,n){n.r(e),n.d(e,{frontMatter:function(){return a},contentTitle:function(){return l},metadata:function(){return u},toc:function(){return s},default:function(){return f}});var r=n(7462),o=n(3366),i=(n(7294),n(3905)),c=["components"],a={},l="Initial Client Connection",u={unversionedId:"stardust-protocol/client/initial-connection",id:"stardust-protocol/client/initial-connection",isDocsHomePage:!1,title:"Initial Client Connection",description:"",source:"@site/docs/stardust-protocol/client/initial-connection.md",sourceDirName:"stardust-protocol/client",slug:"/stardust-protocol/client/initial-connection",permalink:"/docs/stardust-protocol/client/initial-connection",editUrl:"https://github.com/StardustXR/website/edit/main/docs/stardust-protocol/client/initial-connection.md",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Protocol",permalink:"/docs/stardust-protocol/protocol"},next:{title:"Node",permalink:"/docs/stardust-protocol/server/types/Node"}},s=[],p={toc:s};function f(t){var e=t.components,n=(0,o.Z)(t,c);return(0,i.kt)("wrapper",(0,r.Z)({},p,n,{components:e,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"initial-client-connection"},"Initial Client Connection"))}f.isMDXComponent=!0}}]);
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[659],{3905:function(t,e,n){n.d(e,{Zo:function(){return s},kt:function(){return d}});var r=n(7294);function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var l=r.createContext({}),u=function(t){var e=r.useContext(l),n=e;return t&&(n="function"==typeof t?t(e):c(c({},e),t)),n},s=function(t){var e=u(t.components);return r.createElement(l.Provider,{value:e},t.children)},p={inlineCode:"code",wrapper:function(t){var e=t.children;return r.createElement(r.Fragment,{},e)}},f=r.forwardRef((function(t,e){var n=t.components,o=t.mdxType,i=t.originalType,l=t.parentName,s=a(t,["components","mdxType","originalType","parentName"]),f=u(n),d=o,m=f["".concat(l,".").concat(d)]||f[d]||p[d]||i;return n?r.createElement(m,c(c({ref:e},s),{},{components:n})):r.createElement(m,c({ref:e},s))}));function d(t,e){var n=arguments,o=e&&e.mdxType;if("string"==typeof t||o){var i=n.length,c=new Array(i);c[0]=f;var a={};for(var l in e)hasOwnProperty.call(e,l)&&(a[l]=e[l]);a.originalType=t,a.mdxType="string"==typeof t?t:o,c[1]=a;for(var u=2;u<i;u++)c[u]=n[u];return r.createElement.apply(null,c)}return r.createElement.apply(null,n)}f.displayName="MDXCreateElement"},1945:function(t,e,n){n.r(e),n.d(e,{contentTitle:function(){return l},default:function(){return f},frontMatter:function(){return a},metadata:function(){return u},toc:function(){return s}});var r=n(7462),o=n(3366),i=(n(7294),n(3905)),c=["components"],a={},l="Initial Client Connection",u={unversionedId:"stardust-protocol/client/initial-connection",id:"stardust-protocol/client/initial-connection",isDocsHomePage:!1,title:"Initial Client Connection",description:"",source:"@site/docs/stardust-protocol/client/initial-connection.md",sourceDirName:"stardust-protocol/client",slug:"/stardust-protocol/client/initial-connection",permalink:"/docs/stardust-protocol/client/initial-connection",editUrl:"https://github.com/StardustXR/website/edit/main/docs/stardust-protocol/client/initial-connection.md",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Protocol",permalink:"/docs/stardust-protocol/protocol"},next:{title:"Node",permalink:"/docs/stardust-protocol/server/types/Node"}},s=[],p={toc:s};function f(t){var e=t.components,n=(0,o.Z)(t,c);return(0,i.kt)("wrapper",(0,r.Z)({},p,n,{components:e,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"initial-client-connection"},"Initial Client Connection"))}f.isMDXComponent=!0}}]);
|
||||
File diff suppressed because one or more lines are too long
1
assets/js/2a2a0c40.a9bcca28.js
Normal file
1
assets/js/2a2a0c40.a9bcca28.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[587],{3905:function(e,r,t){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){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(7462),o=t(3366),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}}]);
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[587],{3905:function(e,r,t){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){t.r(r),t.d(r,{contentTitle:function(){return a},default:function(){return c},frontMatter:function(){return l},metadata:function(){return d},toc:function(){return p}});var n=t(7462),o=t(3366),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}}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[770],{3905:function(e,t,r){r.d(t,{Zo:function(){return d},kt:function(){return f}});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(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 a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),c=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},d=function(e){var t=c(e.components);return n.createElement(l.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,o=e.mdxType,i=e.originalType,l=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),u=c(r),f=o,y=u["".concat(l,".").concat(f)]||u[f]||p[f]||i;return r?n.createElement(y,a(a({ref:t},d),{},{components:r})):n.createElement(y,a({ref:t},d))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=u;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:o,a[1]=s;for(var c=2;c<i;c++)a[c]=r[c];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}u.displayName="MDXCreateElement"},5637:function(e,t,r){r.r(t),r.d(t,{frontMatter:function(){return s},contentTitle:function(){return l},metadata:function(){return c},toc:function(){return d},default:function(){return u}});var n=r(7462),o=r(3366),i=(r(7294),r(3905)),a=["components"],s={sidebar_position:1},l="Node",c={unversionedId:"stardust-protocol/server/types/Node",id:"stardust-protocol/server/types/Node",isDocsHomePage:!1,title:"Node",description:"A base type for all other types that exist in 3D space.",source:"@site/docs/stardust-protocol/server/types/Node.md",sourceDirName:"stardust-protocol/server/types",slug:"/stardust-protocol/server/types/Node",permalink:"/docs/stardust-protocol/server/types/Node",editUrl:"https://github.com/StardustXR/website/edit/main/docs/stardust-protocol/server/types/Node.md",version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Initial Client Connection",permalink:"/docs/stardust-protocol/client/initial-connection"},next:{title:"Spatial",permalink:"/docs/stardust-protocol/server/types/Spatial"}},d=[{value:"Methods",id:"methods",children:[{value:"<code>destroy()</code>",id:"destroy",children:[]},{value:"<code>setEnabled(bool enabled)</code>",id:"setenabledbool-enabled",children:[]}]}],p={toc:d};function u(e){var t=e.components,r=(0,o.Z)(e,a);return(0,i.kt)("wrapper",(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"node"},"Node"),(0,i.kt)("p",null,"A base type for all other types that exist in 3D space."),(0,i.kt)("h2",{id:"methods"},"Methods"),(0,i.kt)("h3",{id:"destroy"},(0,i.kt)("inlineCode",{parentName:"h3"},"destroy()")),(0,i.kt)("p",null,"Destroy this node immediately, as well as all its children if it has any."),(0,i.kt)("h3",{id:"setenabledbool-enabled"},(0,i.kt)("inlineCode",{parentName:"h3"},"setEnabled(bool enabled)")),(0,i.kt)("p",null,"Set if this node is enabled or not, for example a disabled model will not render and a disabled input handler will not recieve input."))}u.isMDXComponent=!0}}]);
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[770],{3905:function(e,t,r){r.d(t,{Zo:function(){return d},kt:function(){return f}});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(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 a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),c=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},d=function(e){var t=c(e.components);return n.createElement(l.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,o=e.mdxType,i=e.originalType,l=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),u=c(r),f=o,y=u["".concat(l,".").concat(f)]||u[f]||p[f]||i;return r?n.createElement(y,a(a({ref:t},d),{},{components:r})):n.createElement(y,a({ref:t},d))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=u;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:o,a[1]=s;for(var c=2;c<i;c++)a[c]=r[c];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}u.displayName="MDXCreateElement"},5637:function(e,t,r){r.r(t),r.d(t,{contentTitle:function(){return l},default:function(){return u},frontMatter:function(){return s},metadata:function(){return c},toc:function(){return d}});var n=r(7462),o=r(3366),i=(r(7294),r(3905)),a=["components"],s={sidebar_position:1},l="Node",c={unversionedId:"stardust-protocol/server/types/Node",id:"stardust-protocol/server/types/Node",isDocsHomePage:!1,title:"Node",description:"A base type for all other types that exist in 3D space.",source:"@site/docs/stardust-protocol/server/types/Node.md",sourceDirName:"stardust-protocol/server/types",slug:"/stardust-protocol/server/types/Node",permalink:"/docs/stardust-protocol/server/types/Node",editUrl:"https://github.com/StardustXR/website/edit/main/docs/stardust-protocol/server/types/Node.md",version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Initial Client Connection",permalink:"/docs/stardust-protocol/client/initial-connection"},next:{title:"Spatial",permalink:"/docs/stardust-protocol/server/types/Spatial"}},d=[{value:"Methods",id:"methods",children:[{value:"<code>destroy()</code>",id:"destroy",children:[]},{value:"<code>setEnabled(bool enabled)</code>",id:"setenabledbool-enabled",children:[]}]}],p={toc:d};function u(e){var t=e.components,r=(0,o.Z)(e,a);return(0,i.kt)("wrapper",(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"node"},"Node"),(0,i.kt)("p",null,"A base type for all other types that exist in 3D space."),(0,i.kt)("h2",{id:"methods"},"Methods"),(0,i.kt)("h3",{id:"destroy"},(0,i.kt)("inlineCode",{parentName:"h3"},"destroy()")),(0,i.kt)("p",null,"Destroy this node immediately, as well as all its children if it has any."),(0,i.kt)("h3",{id:"setenabledbool-enabled"},(0,i.kt)("inlineCode",{parentName:"h3"},"setEnabled(bool enabled)")),(0,i.kt)("p",null,"Set if this node is enabled or not, for example a disabled model will not render and a disabled input handler will not recieve input."))}u.isMDXComponent=!0}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[835],{3905:function(e,t,r){r.d(t,{Zo:function(){return l},kt:function(){return f}});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(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 a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},l=function(e){var t=u(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)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,c=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),d=u(r),f=o,v=d["".concat(c,".").concat(f)]||d[f]||p[f]||i;return r?n.createElement(v,a(a({ref:t},l),{},{components:r})):n.createElement(v,a({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=d;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s.mdxType="string"==typeof e?e:o,a[1]=s;for(var u=2;u<i;u++)a[u]=r[u];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}d.displayName="MDXCreateElement"},509:function(e,t,r){r.r(t),r.d(t,{frontMatter:function(){return s},contentTitle:function(){return c},metadata:function(){return u},toc:function(){return l},default:function(){return d}});var n=r(7462),o=r(3366),i=(r(7294),r(3905)),a=["components"],s={sidebar_position:1},c="Overview",u={unversionedId:"getting-started/overview",id:"getting-started/overview",isDocsHomePage:!1,title:"Overview",description:"Description",source:"@site/docs/getting-started/overview.md",sourceDirName:"getting-started",slug:"/getting-started/overview",permalink:"/docs/getting-started/overview",editUrl:"https://github.com/StardustXR/website/edit/main/docs/getting-started/overview.md",version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",next:{title:"Installation",permalink:"/docs/getting-started/install"}},l=[{value:"Description",id:"description",children:[]}],p={toc:l};function d(e){var t=e.components,r=(0,o.Z)(e,a);return(0,i.kt)("wrapper",(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"overview"},"Overview"),(0,i.kt)("h2",{id:"description"},"Description"),(0,i.kt)("p",null,"Stardust XR (informally known as Stardust) is an XR display server for Linux-based distros. Unlike display servers of the past that were run on bounded 2D screens, Stardust has to break convention in order to account for unbounded 3D space in any potential virtual or real environment."),(0,i.kt)("p",null,"Unlike many display servers, Stardust is not trying to reinvent how applications interface with the system. Stardust uses Wayland and will use OpenXR for 2D/XR app integration. Stardust however has a special protocol for creation of virtual objects such as 3D UIs around 2D apps (called Panel Shells) and handling of data as objects (called Items, can represent files or Wayland surfaces or such). Stardust is not a collaborative 3D space, instead focusing on your own personal device and interactions with it."),(0,i.kt)("p",null,"Put simply, Stardust is a system UI framework where multiple different clients (programs that connect to Stardust directly) can create objects for the user to interact with their apps and device. The user can choose to use the objects that work best for their current scenario, and default setups can easily be created so users start out with all the essentials."))}d.isMDXComponent=!0}}]);
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[835],{3905:function(e,t,r){r.d(t,{Zo:function(){return l},kt:function(){return f}});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(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 a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},l=function(e){var t=u(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)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,c=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),d=u(r),f=o,v=d["".concat(c,".").concat(f)]||d[f]||p[f]||i;return r?n.createElement(v,a(a({ref:t},l),{},{components:r})):n.createElement(v,a({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=d;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s.mdxType="string"==typeof e?e:o,a[1]=s;for(var u=2;u<i;u++)a[u]=r[u];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}d.displayName="MDXCreateElement"},509:function(e,t,r){r.r(t),r.d(t,{contentTitle:function(){return c},default:function(){return d},frontMatter:function(){return s},metadata:function(){return u},toc:function(){return l}});var n=r(7462),o=r(3366),i=(r(7294),r(3905)),a=["components"],s={sidebar_position:1},c="Overview",u={unversionedId:"getting-started/overview",id:"getting-started/overview",isDocsHomePage:!1,title:"Overview",description:"Description",source:"@site/docs/getting-started/overview.md",sourceDirName:"getting-started",slug:"/getting-started/overview",permalink:"/docs/getting-started/overview",editUrl:"https://github.com/StardustXR/website/edit/main/docs/getting-started/overview.md",version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",next:{title:"Installation",permalink:"/docs/getting-started/install"}},l=[{value:"Description",id:"description",children:[]}],p={toc:l};function d(e){var t=e.components,r=(0,o.Z)(e,a);return(0,i.kt)("wrapper",(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"overview"},"Overview"),(0,i.kt)("h2",{id:"description"},"Description"),(0,i.kt)("p",null,"Stardust XR (informally known as Stardust) is an XR display server for Linux-based distros. Unlike display servers of the past that were run on bounded 2D screens, Stardust has to break convention in order to account for unbounded 3D space in any potential virtual or real environment."),(0,i.kt)("p",null,"Unlike many display servers, Stardust is not trying to reinvent how applications interface with the system. Stardust uses Wayland and will use OpenXR for 2D/XR app integration. Stardust however has a special protocol for creation of virtual objects such as 3D UIs around 2D apps (called Panel Shells) and handling of data as objects (called Items, can represent files or Wayland surfaces or such). Stardust is not a collaborative 3D space, instead focusing on your own personal device and interactions with it."),(0,i.kt)("p",null,"Put simply, Stardust is a system UI framework where multiple different clients (programs that connect to Stardust directly) can create objects for the user to interact with their apps and device. The user can choose to use the objects that work best for their current scenario, and default setups can easily be created so users start out with all the essentials."))}d.isMDXComponent=!0}}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[745],{3905:function(e,t,r){r.d(t,{Zo:function(){return u},kt:function(){return m}});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(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 s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var a=n.createContext({}),l=function(e){var t=n.useContext(a),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(a.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,a=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),d=l(r),m=o,h=d["".concat(a,".").concat(m)]||d[m]||p[m]||i;return r?n.createElement(h,s(s({ref:t},u),{},{components:r})):n.createElement(h,s({ref:t},u))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,s=new Array(i);s[0]=d;var c={};for(var a in t)hasOwnProperty.call(t,a)&&(c[a]=t[a]);c.originalType=e,c.mdxType="string"==typeof e?e:o,s[1]=c;for(var l=2;l<i;l++)s[l]=r[l];return n.createElement.apply(null,s)}return n.createElement.apply(null,r)}d.displayName="MDXCreateElement"},2144:function(e,t,r){r.r(t),r.d(t,{frontMatter:function(){return c},contentTitle:function(){return a},metadata:function(){return l},toc:function(){return u},default:function(){return d}});var n=r(7462),o=r(3366),i=(r(7294),r(3905)),s=["components"],c={},a="/",l={unversionedId:"stardust-protocol/server/objects/root",id:"stardust-protocol/server/objects/root",isDocsHomePage:!1,title:"/",description:"Object managing the client/server relationship as a whole.",source:"@site/docs/stardust-protocol/server/objects/root.md",sourceDirName:"stardust-protocol/server/objects",slug:"/stardust-protocol/server/objects/root",permalink:"/docs/stardust-protocol/server/objects/root",editUrl:"https://github.com/StardustXR/website/edit/main/docs/stardust-protocol/server/objects/root.md",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"/input",permalink:"/docs/stardust-protocol/server/objects/input"},next:{title:"/spatial",permalink:"/docs/stardust-protocol/server/objects/spatial"}},u=[{value:"Signals",id:"signals",children:[{value:"<code>subscribeLogicStep(string path, string method)</code>",id:"subscribelogicstepstring-path-string-method",children:[]},{value:"<code>disconnect(null)</code>",id:"disconnectnull",children:[]}]}],p={toc:u};function d(e){var t=e.components,r=(0,o.Z)(e,s);return(0,i.kt)("wrapper",(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:""},"/"),(0,i.kt)("p",null,"Object managing the client/server relationship as a whole."),(0,i.kt)("h2",{id:"signals"},"Signals"),(0,i.kt)("h3",{id:"subscribelogicstepstring-path-string-method"},(0,i.kt)("inlineCode",{parentName:"h3"},"subscribeLogicStep(string path, string method)")),(0,i.kt)("p",null,"Executes ",(0,i.kt)("inlineCode",{parentName:"p"},"method")," on object at ",(0,i.kt)("inlineCode",{parentName:"p"},"path")," on the client when the main logic loop of the server starts each frame."),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"method")," must have arguments of ",(0,i.kt)("inlineCode",{parentName:"p"},"(double delta, double timeToRender)"),". "),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"delta")," gives the time in seconds between the current time and the last time the logic loop executed while ",(0,i.kt)("inlineCode",{parentName:"p"},"timeToRender")," gives the time in ms since epoch when the current frame is expected to reach the user's eyes (returns 0 for now)."),(0,i.kt)("h3",{id:"disconnectnull"},(0,i.kt)("inlineCode",{parentName:"h3"},"disconnect(null)")),(0,i.kt)("p",null,"Lets the server know that the client wishes to disconnect. After this it can be assumed the client is disconnected from the server."))}d.isMDXComponent=!0}}]);
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[745],{3905:function(e,t,r){r.d(t,{Zo:function(){return u},kt:function(){return m}});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(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 s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var a=n.createContext({}),l=function(e){var t=n.useContext(a),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(a.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,a=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),d=l(r),m=o,h=d["".concat(a,".").concat(m)]||d[m]||p[m]||i;return r?n.createElement(h,s(s({ref:t},u),{},{components:r})):n.createElement(h,s({ref:t},u))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,s=new Array(i);s[0]=d;var c={};for(var a in t)hasOwnProperty.call(t,a)&&(c[a]=t[a]);c.originalType=e,c.mdxType="string"==typeof e?e:o,s[1]=c;for(var l=2;l<i;l++)s[l]=r[l];return n.createElement.apply(null,s)}return n.createElement.apply(null,r)}d.displayName="MDXCreateElement"},2144:function(e,t,r){r.r(t),r.d(t,{contentTitle:function(){return a},default:function(){return d},frontMatter:function(){return c},metadata:function(){return l},toc:function(){return u}});var n=r(7462),o=r(3366),i=(r(7294),r(3905)),s=["components"],c={},a="/",l={unversionedId:"stardust-protocol/server/objects/root",id:"stardust-protocol/server/objects/root",isDocsHomePage:!1,title:"/",description:"Object managing the client/server relationship as a whole.",source:"@site/docs/stardust-protocol/server/objects/root.md",sourceDirName:"stardust-protocol/server/objects",slug:"/stardust-protocol/server/objects/root",permalink:"/docs/stardust-protocol/server/objects/root",editUrl:"https://github.com/StardustXR/website/edit/main/docs/stardust-protocol/server/objects/root.md",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"/input",permalink:"/docs/stardust-protocol/server/objects/input"},next:{title:"/spatial",permalink:"/docs/stardust-protocol/server/objects/spatial"}},u=[{value:"Signals",id:"signals",children:[{value:"<code>subscribeLogicStep(string path, string method)</code>",id:"subscribelogicstepstring-path-string-method",children:[]},{value:"<code>disconnect(null)</code>",id:"disconnectnull",children:[]}]}],p={toc:u};function d(e){var t=e.components,r=(0,o.Z)(e,s);return(0,i.kt)("wrapper",(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:""},"/"),(0,i.kt)("p",null,"Object managing the client/server relationship as a whole."),(0,i.kt)("h2",{id:"signals"},"Signals"),(0,i.kt)("h3",{id:"subscribelogicstepstring-path-string-method"},(0,i.kt)("inlineCode",{parentName:"h3"},"subscribeLogicStep(string path, string method)")),(0,i.kt)("p",null,"Executes ",(0,i.kt)("inlineCode",{parentName:"p"},"method")," on object at ",(0,i.kt)("inlineCode",{parentName:"p"},"path")," on the client when the main logic loop of the server starts each frame."),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"method")," must have arguments of ",(0,i.kt)("inlineCode",{parentName:"p"},"(double delta, double timeToRender)"),". "),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"delta")," gives the time in seconds between the current time and the last time the logic loop executed while ",(0,i.kt)("inlineCode",{parentName:"p"},"timeToRender")," gives the time in ms since epoch when the current frame is expected to reach the user's eyes (returns 0 for now)."),(0,i.kt)("h3",{id:"disconnectnull"},(0,i.kt)("inlineCode",{parentName:"h3"},"disconnect(null)")),(0,i.kt)("p",null,"Lets the server know that the client wishes to disconnect. After this it can be assumed the client is disconnected from the server."))}d.isMDXComponent=!0}}]);
|
||||
@@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[53],{1109:function(e){e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":"none","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"category","label":"Getting Started","items":[{"type":"link","label":"Overview","href":"/docs/getting-started/overview"},{"type":"link","label":"Installation","href":"/docs/getting-started/install"},{"type":"link","label":"Use","href":"/docs/getting-started/run"},{"type":"link","label":"Technical Overview","href":"/docs/getting-started/tech-overview"}],"collapsed":true},{"type":"category","label":"Protocol","items":[{"type":"link","label":"Protocol","href":"/docs/stardust-protocol/protocol"},{"type":"category","label":"Client","items":[{"type":"link","label":"Initial Client Connection","href":"/docs/stardust-protocol/client/initial-connection"}],"collapsed":true},{"type":"category","label":"Server","items":[{"type":"category","label":"Node Types","items":[{"type":"link","label":"Node","href":"/docs/stardust-protocol/server/types/Node"},{"type":"link","label":"Spatial","href":"/docs/stardust-protocol/server/types/Spatial"},{"type":"link","label":"Model","href":"/docs/stardust-protocol/server/types/Model"},{"type":"category","label":"Fields","items":[{"type":"link","label":"BoxField","href":"/docs/stardust-protocol/server/types/field/BoxField"},{"type":"link","label":"CylinderField","href":"/docs/stardust-protocol/server/types/field/CylinderField"},{"type":"link","label":"Field","href":"/docs/stardust-protocol/server/types/field/Field"},{"type":"link","label":"SphereField","href":"/docs/stardust-protocol/server/types/field/SphereField"}],"collapsed":true},{"type":"category","label":"Input","items":[{"type":"link","label":"InputHandler","href":"/docs/stardust-protocol/server/types/input/InputHandler"},{"type":"link","label":"InputMethod","href":"/docs/stardust-protocol/server/types/input/InputMethod"},{"type":"category","label":"Input Method Types","items":[{"type":"link","label":"HandInput","href":"/docs/stardust-protocol/server/types/input/inputtypes/HandInput"},{"type":"link","label":"PointerInput","href":"/docs/stardust-protocol/server/types/input/inputtypes/PointerInput"}],"collapsed":true}],"collapsed":true},{"type":"link","label":"Zone","href":"/docs/stardust-protocol/server/types/Zone"}],"collapsed":true},{"type":"category","label":"Server Objects","items":[{"type":"link","label":"/drawable","href":"/docs/stardust-protocol/server/objects/drawable"},{"type":"link","label":"/field","href":"/docs/stardust-protocol/server/objects/field"},{"type":"link","label":"/hmd","href":"/docs/stardust-protocol/server/objects/hmd"},{"type":"link","label":"/input","href":"/docs/stardust-protocol/server/objects/input"},{"type":"link","label":"/","href":"/docs/stardust-protocol/server/objects/root"},{"type":"link","label":"/spatial","href":"/docs/stardust-protocol/server/objects/spatial"}],"collapsed":true}],"collapsed":true}],"collapsed":true}]},"permalinkToSidebar":{"/docs/getting-started/install":"tutorialSidebar","/docs/getting-started/overview":"tutorialSidebar","/docs/getting-started/run":"tutorialSidebar","/docs/getting-started/tech-overview":"tutorialSidebar","/docs/stardust-protocol/client/initial-connection":"tutorialSidebar","/docs/stardust-protocol/protocol":"tutorialSidebar","/docs/stardust-protocol/server/objects/drawable":"tutorialSidebar","/docs/stardust-protocol/server/objects/field":"tutorialSidebar","/docs/stardust-protocol/server/objects/hmd":"tutorialSidebar","/docs/stardust-protocol/server/objects/input":"tutorialSidebar","/docs/stardust-protocol/server/objects/root":"tutorialSidebar","/docs/stardust-protocol/server/objects/spatial":"tutorialSidebar","/docs/stardust-protocol/server/types/field/BoxField":"tutorialSidebar","/docs/stardust-protocol/server/types/field/CylinderField":"tutorialSidebar","/docs/stardust-protocol/server/types/field/Field":"tutorialSidebar","/docs/stardust-protocol/server/types/field/SphereField":"tutorialSidebar","/docs/stardust-protocol/server/types/input/InputHandler":"tutorialSidebar","/docs/stardust-protocol/server/types/input/InputMethod":"tutorialSidebar","/docs/stardust-protocol/server/types/input/inputtypes/HandInput":"tutorialSidebar","/docs/stardust-protocol/server/types/input/inputtypes/PointerInput":"tutorialSidebar","/docs/stardust-protocol/server/types/Model":"tutorialSidebar","/docs/stardust-protocol/server/types/Node":"tutorialSidebar","/docs/stardust-protocol/server/types/Spatial":"tutorialSidebar","/docs/stardust-protocol/server/types/Zone":"tutorialSidebar"}}')}}]);
|
||||
1
assets/js/935f2afb.a6da04f8.js
Normal file
1
assets/js/935f2afb.a6da04f8.js
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[53],{1109:function(t){t.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":"none","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"category","label":"Getting Started","items":[{"type":"link","label":"Overview","href":"/docs/getting-started/overview"},{"type":"link","label":"Installation","href":"/docs/getting-started/install"},{"type":"link","label":"Starting","href":"/docs/getting-started/starting"},{"type":"link","label":"Technical Overview","href":"/docs/getting-started/tech-overview"}],"collapsed":true},{"type":"category","label":"Protocol","items":[{"type":"link","label":"Protocol","href":"/docs/stardust-protocol/protocol"},{"type":"category","label":"Client","items":[{"type":"link","label":"Initial Client Connection","href":"/docs/stardust-protocol/client/initial-connection"}],"collapsed":true},{"type":"category","label":"Server","items":[{"type":"category","label":"Node Types","items":[{"type":"link","label":"Node","href":"/docs/stardust-protocol/server/types/Node"},{"type":"link","label":"Spatial","href":"/docs/stardust-protocol/server/types/Spatial"},{"type":"link","label":"Model","href":"/docs/stardust-protocol/server/types/Model"},{"type":"category","label":"Fields","items":[{"type":"link","label":"BoxField","href":"/docs/stardust-protocol/server/types/field/BoxField"},{"type":"link","label":"CylinderField","href":"/docs/stardust-protocol/server/types/field/CylinderField"},{"type":"link","label":"Field","href":"/docs/stardust-protocol/server/types/field/Field"},{"type":"link","label":"SphereField","href":"/docs/stardust-protocol/server/types/field/SphereField"}],"collapsed":true},{"type":"category","label":"Input","items":[{"type":"link","label":"InputHandler","href":"/docs/stardust-protocol/server/types/input/InputHandler"},{"type":"link","label":"InputMethod","href":"/docs/stardust-protocol/server/types/input/InputMethod"},{"type":"category","label":"Input Method Types","items":[{"type":"link","label":"HandInput","href":"/docs/stardust-protocol/server/types/input/inputtypes/HandInput"},{"type":"link","label":"PointerInput","href":"/docs/stardust-protocol/server/types/input/inputtypes/PointerInput"}],"collapsed":true}],"collapsed":true},{"type":"link","label":"Zone","href":"/docs/stardust-protocol/server/types/Zone"}],"collapsed":true},{"type":"category","label":"Server Objects","items":[{"type":"link","label":"/drawable","href":"/docs/stardust-protocol/server/objects/drawable"},{"type":"link","label":"/field","href":"/docs/stardust-protocol/server/objects/field"},{"type":"link","label":"/hmd","href":"/docs/stardust-protocol/server/objects/hmd"},{"type":"link","label":"/input","href":"/docs/stardust-protocol/server/objects/input"},{"type":"link","label":"/","href":"/docs/stardust-protocol/server/objects/root"},{"type":"link","label":"/spatial","href":"/docs/stardust-protocol/server/objects/spatial"}],"collapsed":true}],"collapsed":true}],"collapsed":true}]},"permalinkToSidebar":{"/docs/getting-started/install":"tutorialSidebar","/docs/getting-started/overview":"tutorialSidebar","/docs/getting-started/starting":"tutorialSidebar","/docs/getting-started/tech-overview":"tutorialSidebar","/docs/stardust-protocol/client/initial-connection":"tutorialSidebar","/docs/stardust-protocol/protocol":"tutorialSidebar","/docs/stardust-protocol/server/objects/drawable":"tutorialSidebar","/docs/stardust-protocol/server/objects/field":"tutorialSidebar","/docs/stardust-protocol/server/objects/hmd":"tutorialSidebar","/docs/stardust-protocol/server/objects/input":"tutorialSidebar","/docs/stardust-protocol/server/objects/root":"tutorialSidebar","/docs/stardust-protocol/server/objects/spatial":"tutorialSidebar","/docs/stardust-protocol/server/types/field/BoxField":"tutorialSidebar","/docs/stardust-protocol/server/types/field/CylinderField":"tutorialSidebar","/docs/stardust-protocol/server/types/field/Field":"tutorialSidebar","/docs/stardust-protocol/server/types/field/SphereField":"tutorialSidebar","/docs/stardust-protocol/server/types/input/InputHandler":"tutorialSidebar","/docs/stardust-protocol/server/types/input/InputMethod":"tutorialSidebar","/docs/stardust-protocol/server/types/input/inputtypes/HandInput":"tutorialSidebar","/docs/stardust-protocol/server/types/input/inputtypes/PointerInput":"tutorialSidebar","/docs/stardust-protocol/server/types/Model":"tutorialSidebar","/docs/stardust-protocol/server/types/Node":"tutorialSidebar","/docs/stardust-protocol/server/types/Spatial":"tutorialSidebar","/docs/stardust-protocol/server/types/Zone":"tutorialSidebar"}}')}}]);
|
||||
@@ -1 +1 @@
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[172],{3905:function(e,t,r){r.d(t,{Zo:function(){return p},kt:function(){return m}});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(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 i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),c=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},d={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,a=e.mdxType,o=e.originalType,l=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=c(r),m=a,h=u["".concat(l,".").concat(m)]||u[m]||d[m]||o;return r?n.createElement(h,i(i({ref:t},p),{},{components:r})):n.createElement(h,i({ref:t},p))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=u;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:a,i[1]=s;for(var c=2;c<o;c++)i[c]=r[c];return n.createElement.apply(null,i)}return n.createElement.apply(null,r)}u.displayName="MDXCreateElement"},6098:function(e,t,r){r.r(t),r.d(t,{frontMatter:function(){return s},contentTitle:function(){return l},metadata:function(){return c},toc:function(){return p},default:function(){return u}});var n=r(7462),a=r(3366),o=(r(7294),r(3905)),i=["components"],s={},l="/drawable",c={unversionedId:"stardust-protocol/server/objects/drawable",id:"stardust-protocol/server/objects/drawable",isDocsHomePage:!1,title:"/drawable",description:"Object managing anything drawable, from the skytex to models.",source:"@site/docs/stardust-protocol/server/objects/drawable.md",sourceDirName:"stardust-protocol/server/objects",slug:"/stardust-protocol/server/objects/drawable",permalink:"/docs/stardust-protocol/server/objects/drawable",editUrl:"https://github.com/StardustXR/website/edit/main/docs/stardust-protocol/server/objects/drawable.md",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Zone",permalink:"/docs/stardust-protocol/server/types/Zone"},next:{title:"/field",permalink:"/docs/stardust-protocol/server/objects/field"}},p=[{value:"Signals",id:"signals",children:[{value:"<code>createModelFromFile(string name, string spacePath, string path)</code>",id:"createmodelfromfilestring-name-string-spacepath-string-path",children:[]},{value:"<code>setSkytex(string path)</code>",id:"setskytexstring-path",children:[]},{value:"<code>setSkylight(string path)</code>",id:"setskylightstring-path",children:[]}]}],d={toc:p};function u(e){var t=e.components,r=(0,a.Z)(e,i);return(0,o.kt)("wrapper",(0,n.Z)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"drawable"},"/drawable"),(0,o.kt)("p",null,"Object managing anything drawable, from the skytex to models."),(0,o.kt)("h2",{id:"signals"},"Signals"),(0,o.kt)("h3",{id:"createmodelfromfilestring-name-string-spacepath-string-path"},(0,o.kt)("inlineCode",{parentName:"h3"},"createModelFromFile(string name, string spacePath, string path)")),(0,o.kt)("p",null,"Creates a new ",(0,o.kt)("a",{parentName:"p",href:"/docs/stardust-protocol/server/types/Model"},"Model")," at ",(0,o.kt)("inlineCode",{parentName:"p"},"/model/[name]")," with parent at ",(0,o.kt)("inlineCode",{parentName:"p"},"spacePath"),"."),(0,o.kt)("h3",{id:"setskytexstring-path"},(0,o.kt)("inlineCode",{parentName:"h3"},"setSkytex(string path)")),(0,o.kt)("p",null,"Sets the sky texture to be the image (HDR) at the absolute ",(0,o.kt)("inlineCode",{parentName:"p"},"path"),"."),(0,o.kt)("h3",{id:"setskylightstring-path"},(0,o.kt)("inlineCode",{parentName:"h3"},"setSkylight(string path)")),(0,o.kt)("p",null,"Sets the ambient lighting (using spherical harmonics) to the HDR at the absolute ",(0,o.kt)("inlineCode",{parentName:"p"},"path"),"."))}u.isMDXComponent=!0}}]);
|
||||
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[172],{3905:function(e,t,r){r.d(t,{Zo:function(){return p},kt:function(){return m}});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(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 i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),c=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},d={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,a=e.mdxType,o=e.originalType,l=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=c(r),m=a,h=u["".concat(l,".").concat(m)]||u[m]||d[m]||o;return r?n.createElement(h,i(i({ref:t},p),{},{components:r})):n.createElement(h,i({ref:t},p))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=u;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:a,i[1]=s;for(var c=2;c<o;c++)i[c]=r[c];return n.createElement.apply(null,i)}return n.createElement.apply(null,r)}u.displayName="MDXCreateElement"},6098:function(e,t,r){r.r(t),r.d(t,{contentTitle:function(){return l},default:function(){return u},frontMatter:function(){return s},metadata:function(){return c},toc:function(){return p}});var n=r(7462),a=r(3366),o=(r(7294),r(3905)),i=["components"],s={},l="/drawable",c={unversionedId:"stardust-protocol/server/objects/drawable",id:"stardust-protocol/server/objects/drawable",isDocsHomePage:!1,title:"/drawable",description:"Object managing anything drawable, from the skytex to models.",source:"@site/docs/stardust-protocol/server/objects/drawable.md",sourceDirName:"stardust-protocol/server/objects",slug:"/stardust-protocol/server/objects/drawable",permalink:"/docs/stardust-protocol/server/objects/drawable",editUrl:"https://github.com/StardustXR/website/edit/main/docs/stardust-protocol/server/objects/drawable.md",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Zone",permalink:"/docs/stardust-protocol/server/types/Zone"},next:{title:"/field",permalink:"/docs/stardust-protocol/server/objects/field"}},p=[{value:"Signals",id:"signals",children:[{value:"<code>createModelFromFile(string name, string spacePath, string path)</code>",id:"createmodelfromfilestring-name-string-spacepath-string-path",children:[]},{value:"<code>setSkytex(string path)</code>",id:"setskytexstring-path",children:[]},{value:"<code>setSkylight(string path)</code>",id:"setskylightstring-path",children:[]}]}],d={toc:p};function u(e){var t=e.components,r=(0,a.Z)(e,i);return(0,o.kt)("wrapper",(0,n.Z)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"drawable"},"/drawable"),(0,o.kt)("p",null,"Object managing anything drawable, from the skytex to models."),(0,o.kt)("h2",{id:"signals"},"Signals"),(0,o.kt)("h3",{id:"createmodelfromfilestring-name-string-spacepath-string-path"},(0,o.kt)("inlineCode",{parentName:"h3"},"createModelFromFile(string name, string spacePath, string path)")),(0,o.kt)("p",null,"Creates a new ",(0,o.kt)("a",{parentName:"p",href:"/docs/stardust-protocol/server/types/Model"},"Model")," at ",(0,o.kt)("inlineCode",{parentName:"p"},"/model/[name]")," with parent at ",(0,o.kt)("inlineCode",{parentName:"p"},"spacePath"),"."),(0,o.kt)("h3",{id:"setskytexstring-path"},(0,o.kt)("inlineCode",{parentName:"h3"},"setSkytex(string path)")),(0,o.kt)("p",null,"Sets the sky texture to be the image (HDR) at the absolute ",(0,o.kt)("inlineCode",{parentName:"p"},"path"),"."),(0,o.kt)("h3",{id:"setskylightstring-path"},(0,o.kt)("inlineCode",{parentName:"h3"},"setSkylight(string path)")),(0,o.kt)("p",null,"Sets the ambient lighting (using spherical harmonics) to the HDR at the absolute ",(0,o.kt)("inlineCode",{parentName:"p"},"path"),"."))}u.isMDXComponent=!0}}]);
|
||||
File diff suppressed because one or more lines are too long
1
assets/js/b6ec42fc.a12e443d.js
Normal file
1
assets/js/b6ec42fc.a12e443d.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/e6f3b050.dd2f244a.js
Normal file
1
assets/js/e6f3b050.dd2f244a.js
Normal file
File diff suppressed because one or more lines are too long
2
assets/js/main.6b15a4a5.js
Normal file
2
assets/js/main.6b15a4a5.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/runtime~main.8906f126.js
Normal file
1
assets/js/runtime~main.8906f126.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
BIN
img/docs/run/xr_mode_windowed_blank.png
Normal file
BIN
img/docs/run/xr_mode_windowed_blank.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
10
index.html
10
index.html
File diff suppressed because one or more lines are too long
10
roadmap.html
10
roadmap.html
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://stardustxr.org/</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/roadmap</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/getting-started/install</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/getting-started/overview</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/getting-started/run</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/getting-started/tech-overview</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/client/initial-connection</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/protocol</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/objects/drawable</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/objects/field</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/objects/hmd</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/objects/input</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/objects/root</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/objects/spatial</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/field/BoxField</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/field/CylinderField</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/field/Field</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/field/SphereField</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/input/InputHandler</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/input/InputMethod</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/input/inputtypes/HandInput</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/input/inputtypes/PointerInput</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/Model</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/Node</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/Spatial</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/Zone</loc><changefreq>weekly</changefreq><priority>0.5</priority></url></urlset>
|
||||
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://stardustxr.org/</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/roadmap</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/getting-started/install</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/getting-started/overview</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/getting-started/starting</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/getting-started/tech-overview</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/client/initial-connection</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/protocol</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/objects/drawable</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/objects/field</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/objects/hmd</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/objects/input</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/objects/root</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/objects/spatial</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/field/BoxField</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/field/CylinderField</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/field/Field</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/field/SphereField</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/input/InputHandler</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/input/InputMethod</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/input/inputtypes/HandInput</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/input/inputtypes/PointerInput</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/Model</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/Node</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/Spatial</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://stardustxr.org/docs/stardust-protocol/server/types/Zone</loc><changefreq>weekly</changefreq><priority>0.5</priority></url></urlset>
|
||||
Reference in New Issue
Block a user