(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[852],{3905:function(e,t,r){"use strict";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 a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(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={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),l=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(s.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,a=e.originalType,s=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),d=l(r),m=o,f=d["".concat(s,".").concat(m)]||d[m]||p[m]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i.mdxType="string"==typeof e?e:o,c[1]=i;for(var l=2;l<a;l++)c[l]=r[l];return n.createElement.apply(null,c)}return n.createElement.apply(null,r)}d.displayName="MDXCreateElement"},4346:function(e,t,r){"use strict";r.r(t),r.d(t,{frontMatter:function(){return i},contentTitle:function(){return s},metadata:function(){return l},toc:function(){return u},default:function(){return d}});var n=r(2122),o=r(9756),a=(r(7294),r(3905)),c=["components"],i={},s="/model",l={unversionedId:"stardust-protocol/server/objects/model",id:"stardust-protocol/server/objects/model",isDocsHomePage:!1,title:"/model",description:"Object managing graphical models.",source:"@site/docs/stardust-protocol/server/objects/model.md",sourceDirName:"stardust-protocol/server/objects",slug:"/stardust-protocol/server/objects/model",permalink:"/docs/stardust-protocol/server/objects/model",editUrl:"https://github.com/StardustXR/website/edit/main/docs/stardust-protocol/server/objects/model.md",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"/lifecycle",permalink:"/docs/stardust-protocol/server/objects/lifecycle"},next:{title:"/spatial",permalink:"/docs/stardust-protocol/server/objects/spatial"}},u=[{value:"Signals",id:"signals",children:[{value:"<code>createFromFile(string name, string path)</code>",id:"createfromfilestring-name-string-path",children:[]}]}],p={toc:u};function d(e){var t=e.components,r=(0,o.Z)(e,c);return(0,a.kt)("wrapper",(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"model"},"/model"),(0,a.kt)("p",null,"Object managing graphical models."),(0,a.kt)("h2",{id:"signals"},"Signals"),(0,a.kt)("h3",{id:"createfromfilestring-name-string-path"},(0,a.kt)("inlineCode",{parentName:"h3"},"createFromFile(string name, string path)")),(0,a.kt)("p",null,"Creates a new ",(0,a.kt)("a",{parentName:"p",href:"/docs/stardust-protocol/server/types/Model"},"Model")," at ",(0,a.kt)("inlineCode",{parentName:"p"},"/model/[name]"),"."))}d.isMDXComponent=!0}}]);