import{_ as e,c as t,o as a,N as r}from"./chunks/framework.0799945b.js";const b=JSON.parse('{"title":"Interface: BaseParticles","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/interfaces/features/particles/particles.BaseParticles.md","lastUpdated":null}'),o={name:"api/interfaces/features/particles/particles.BaseParticles.md"},i=r('
features/particles/particles.BaseParticles
The properties that are added onto a processed ParticlesOptions to create an Particles.
• [Component]: GenericComponent
The Vue component used to render this feature.
profectus/src/features/particles/particles.tsx:45
• [GatherProps]: () => Record
<string
, unknown
>
▸ (): Record
<string
, unknown
>
A function to gather the props the vue component requires for this feature.
Record
<string
, unknown
>
profectus/src/features/particles/particles.tsx:47
• addEmitter: (config
: EmitterConfigV3
) => Promise
<Emitter
>
▸ (config
): Promise
<Emitter
>
A function to asynchronously add an emitter to the canvas. The returned emitter can then be positioned as appropriate and started.
See
Name | Type |
---|---|
config | EmitterConfigV3 |
Promise
<Emitter
>
profectus/src/features/particles/particles.tsx:41
• app: Ref
<null
| Application
>
The Pixi.JS Application powering this particles canvas.
profectus/src/features/particles/particles.tsx:35
• id: string
An auto-generated ID for identifying features that appear in the DOM. Will not persist between refreshes or updates.
profectus/src/features/particles/particles.tsx:33
• type: typeof ParticlesType
A symbol that helps identify features of the same type.