(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[95976],{59854:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/reference/imagecomponentdata",function(){return r(98070)}])},98070:function(e,n,r){"use strict";r.r(n),r.d(n,{__toc:function(){return c}});var t=r(85893),s=r(92673),i=r(82643);let c=[{depth:2,value:"ImageComponentData interface",id:"imagecomponentdata-interface"},{depth:2,value:"Properties",id:"properties"}];function _createMdxContent(e){let n=Object.assign({h2:"h2",p:"p",a:"a",strong:"strong",pre:"pre",code:"code",span:"span",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td",em:"em"},(0,i.a)(),e.components);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h2,{id:"imagecomponentdata-interface",children:"ImageComponentData interface"}),"\n",(0,t.jsxs)(n.p,{children:["Data specification for ",(0,t.jsx)(n.a,{href:"/reference/imagecomponent",children:"ImageComponent"}),", see ",(0,t.jsx)(n.a,{href:"/reference/componentmanager/create",children:"ComponentManager.create()"})," on how to create a component"]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"Signature:"})}),"\n",(0,t.jsx)(n.pre,{"data-language":"typescript","data-theme":"default",children:(0,t.jsx)(n.code,{"data-language":"typescript","data-theme":"default",children:(0,t.jsxs)(n.span,{className:"line",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"interface"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"ImageComponentData"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"extends"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"Component3DData"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-color-text)"},children:" "})]})})}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"Extends:"})," ",(0,t.jsx)(n.a,{href:"/reference/component3ddata",children:"Component3DData"})]}),"\n",(0,t.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsxs)(n.th,{children:["\n",(0,t.jsx)(n.p,{children:"Property"}),"\n"]}),(0,t.jsxs)(n.th,{children:["\n",(0,t.jsx)(n.p,{children:"Modifiers"}),"\n"]}),(0,t.jsxs)(n.th,{children:["\n",(0,t.jsx)(n.p,{children:"Type"}),"\n"]}),(0,t.jsxs)(n.th,{children:["\n",(0,t.jsx)(n.p,{children:"Description"}),"\n"]})]})}),(0,t.jsxs)(n.tbody,{children:[(0,t.jsxs)(n.tr,{children:[(0,t.jsxs)(n.td,{children:["\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"/reference/imagecomponentdata/id",children:"id?"})}),"\n"]}),(0,t.jsx)(n.td,{children:"\n"}),(0,t.jsxs)(n.td,{children:["\n",(0,t.jsx)(n.p,{children:"string"}),"\n"]}),(0,t.jsxs)(n.td,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.em,{children:"(Optional)"})," if not provided, an auto id will be generated"]}),"\n"]})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsxs)(n.td,{children:["\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"/reference/imagecomponentdata/name",children:"name?"})}),"\n"]}),(0,t.jsx)(n.td,{children:"\n"}),(0,t.jsxs)(n.td,{children:["\n",(0,t.jsx)(n.p,{children:"string"}),"\n"]}),(0,t.jsxs)(n.td,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.em,{children:"(Optional)"}),' name for the component. Defaults to ""']}),"\n"]})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsxs)(n.td,{children:["\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"/reference/imagecomponentdata/opacity",children:"opacity?"})}),"\n"]}),(0,t.jsx)(n.td,{children:"\n"}),(0,t.jsxs)(n.td,{children:["\n",(0,t.jsx)(n.p,{children:"number"}),"\n"]}),(0,t.jsxs)(n.td,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.em,{children:"(Optional)"})," Set opacity of the image. Defaults to 1"]}),"\n"]})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsxs)(n.td,{children:["\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"/reference/imagecomponentdata/position",children:"position?"})}),"\n"]}),(0,t.jsx)(n.td,{children:"\n"}),(0,t.jsxs)(n.td,{children:["\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"/reference/xyz",children:"XYZ"})}),"\n"]}),(0,t.jsxs)(n.td,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.em,{children:"(Optional)"})," Position of the component in the space. Defaults to {","x: 0, y: 0, z: 0","}"]}),"\n"]})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsxs)(n.td,{children:["\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"/reference/imagecomponentdata/rotation",children:"rotation?"})}),"\n"]}),(0,t.jsx)(n.td,{children:"\n"}),(0,t.jsxs)(n.td,{children:["\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"/reference/xyz",children:"XYZ"})}),"\n"]}),(0,t.jsxs)(n.td,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.em,{children:"(Optional)"})," Rotation of the component in the space. Defaults to {","x: 0, y: 0, z: 0","}"]}),"\n"]})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsxs)(n.td,{children:["\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"/reference/imagecomponentdata/scale",children:"scale?"})}),"\n"]}),(0,t.jsx)(n.td,{children:"\n"}),(0,t.jsxs)(n.td,{children:["\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"/reference/xyz",children:"XYZ"})}),"\n"]}),(0,t.jsxs)(n.td,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.em,{children:"(Optional)"})," Scale of the component in the space. Defaults to {","x: 1, y: 1, z: 1","}"]}),"\n"]})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsxs)(n.td,{children:["\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"/reference/imagecomponentdata/type",children:"type"})}),"\n"]}),(0,t.jsx)(n.td,{children:"\n"}),(0,t.jsxs)(n.td,{children:["\n",(0,t.jsx)(n.p,{children:'"image"'}),"\n"]}),(0,t.jsx)(n.td,{children:"\n"})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsxs)(n.td,{children:["\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"/reference/imagecomponentdata/url",children:"url"})}),"\n"]}),(0,t.jsx)(n.td,{children:"\n"}),(0,t.jsxs)(n.td,{children:["\n",(0,t.jsx)(n.p,{children:"string"}),"\n"]}),(0,t.jsxs)(n.td,{children:["\n",(0,t.jsx)(n.p,{children:"url of the image file"}),"\n"]})]})]})]})]})}n.default=(0,s.j)({MDXContent:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:n}=Object.assign({},(0,i.a)(),e.components);return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(_createMdxContent,{...e})}):_createMdxContent(e)},pageOpts:{filePath:"pages/reference/imagecomponentdata.md",route:"/reference/imagecomponentdata",timestamp:1727164547e3,title:"Imagecomponentdata",headings:c},pageNextRoute:"/reference/imagecomponentdata"})}},function(e){e.O(0,[92673,49774,92888,40179],function(){return e(e.s=59854)}),_N_E=e.O()}]);