(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5274],{87705:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/reference/dustcomponent",function(){return t(35574)}])},35574:function(e,n,t){"use strict";t.r(n),t.d(n,{__toc:function(){return c}});var s=t(85893),o=t(92673),r=t(82643);let c=[{depth:2,value:"DustComponent class",id:"dustcomponent-class"}];function _createMdxContent(e){let n=Object.assign({h2:"h2",p:"p",a:"a",strong:"strong",pre:"pre",code:"code",span:"span"},(0,r.a)(),e.components);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h2,{id:"dustcomponent-class",children:"DustComponent class"}),"\n",(0,s.jsx)(n.p,{children:"A component to display dust that follows a target in the game. You can use this component to create a trail of dust that follows a player, for example."}),"\n",(0,s.jsxs)(n.p,{children:["See ",(0,s.jsx)(n.a,{href:"/reference/dustcomponentdata",children:"DustComponentData"})," for the data schema used to create a dust component"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Signature:"})}),"\n",(0,s.jsx)(n.pre,{"data-language":"typescript","data-theme":"default",children:(0,s.jsx)(n.code,{"data-language":"typescript","data-theme":"default",children:(0,s.jsxs)(n.span,{className:"line",children:[(0,s.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,s.jsx)(n.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,s.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"declare"}),(0,s.jsx)(n.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,s.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"class"}),(0,s.jsx)(n.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,s.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"DustComponent"}),(0,s.jsx)(n.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,s.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"extends"}),(0,s.jsx)(n.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,s.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"Component3D"}),(0,s.jsx)(n.span,{style:{color:"var(--shiki-color-text)"},children:"<"}),(0,s.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"DustComponentData"}),(0,s.jsx)(n.span,{style:{color:"var(--shiki-color-text)"},children:"> "})]})})}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"Extends:"})," ",(0,s.jsx)(n.a,{href:"/reference/component3d",children:"Component3D"}),"<",(0,s.jsx)(n.a,{href:"/reference/dustcomponentdata",children:"DustComponentData"}),">"]})]})}n.default=(0,o.j)({MDXContent:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:n}=Object.assign({},(0,r.a)(),e.components);return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(_createMdxContent,{...e})}):_createMdxContent(e)},pageOpts:{filePath:"pages/reference/dustcomponent.md",route:"/reference/dustcomponent",timestamp:1727164547e3,title:"Dustcomponent",headings:c},pageNextRoute:"/reference/dustcomponent"})}},function(e){e.O(0,[92673,49774,92888,40179],function(){return e(e.s=87705)}),_N_E=e.O()}]);