import{_ase,cast,oasa,Nasr}from"./chunks/framework.0799945b.js";constg=JSON.parse('{"title":"Module: features/particles/particles","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/features/particles.md","lastUpdated":null}'),l={name:"api/modules/features/particles.md"},o=r('<h1id="module-features-particles-particles"tabindex="-1">Module:features/particles/particles<aclass="header-anchor"href="#module-features-particles-particles"aria-label="Permalink to "Module: features/particles/particles""></a></h1><h2id="interfaces"tabindex="-1">Interfaces<aclass="header-anchor"href="#interfaces"aria-label="Permalinkto"Interfaces""></a></h2><h3id="baseparticles"tabindex="-1">BaseParticles<aclass="header-anchor"href="#baseparticles"aria-label="Permalinkto"BaseParticles""></a></h3><p>•<strong>BaseParticles</strong>:<code>Object</code></p><p>Thepropertiesthatareaddedontoaprocessed<ahref="./particles#particlesoptions">ParticlesOptions</a>tocreatean<ahref="./particles#particles">Particles</a>.</p><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th><thstyle="text-align:left;">Description</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>[Component]</code></td><tdstyle="text-align:left;"><ahref="./feature#genericcomponent"><code>GenericComponent</code></a></td><tdstyle="text-align:left;">TheVuecomponentusedtorenderthisfeature.</td></tr><tr><tdstyle="text-align:left;"><code>[GatherProps]</code></td><tdstyle="text-align:left;">()=><ahref="https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"target="_blank"rel="noreferrer"><code>Record</code></a><<code>string</code>,<code>unknown</code>></td><tdstyle="text-align:left;">Afunctiontogatherthepropsthevuecomponentrequiresforthisfeature.</td></tr><tr><tdstyle="text-align:left;"><code>addEmitter</code></td><tdstyle="text-align:left;">(<code>config</code>:<code>EmitterConfigV3</code>)=><ahref="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"target="_blank"rel="noreferrer"><code>Promise</code></a><<code>Emitter</code>></td><tdstyle="text-align:left;">Afunctiontoasynchronouslyaddanemittertothecanvas.Thereturnedemittercanthenbepositionedasappropriateandstarted.<strong><code>See</code></strong><ahref="./particles#particles">Particles</a></td></tr><tr><tdstyle="text-align:left;"><code>app</code></td><tdstyle="text-align:left;"><code>Ref</code><<code>null</code>|<code>Application</code>></td><tdstyle="text-align:left;">ThePixi.JSApplicationpoweringthisparticlescanvas.</td></tr><tr><tdstyle="text-align:left;"><code>id</code></td><tdstyle="text-align:left;"><code>string</code></td><tdstyle="text-align:left;">Anauto-generatedIDforidentifyingfeaturesthatappearintheDOM.Willnotpersistbetweenrefreshesorupdates.</td></tr><tr><tdstyle="text-align:left;"><code>type</code></td><tdstyle="text-align:left;">typeof<ahref="./particles#particlestype"><code>ParticlesType</code></a></td><tdstyle="text-align:left;">Asymbolthathelpsidentifyfeaturesofthesametype.</td></tr></tbody></table><h4id="defined-in"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/5c11524/src/features/particles/particles.tsx#L31"target="_blank"rel="noreferrer">profectus/src/features/particles/particles.tsx:31</a></p><hr><h3id="particlesoptions"tabindex="-1">ParticlesOptions<aclass="header-anchor"href="#particlesoptions"aria-label="Permalinkto"ParticlesOptions""></a></h3><p>•<strong>ParticlesOptions</strong>:<code>Object</code></p><p>Anobjectthatconfigures<ahref="./particles#particles">Particles</a>.</p><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th><thst