ParticlesProps
Since 0.6
Signature
export interface ParticlesProps {
/** Parameter overrides applied on top of the preset and the component. */
params?: Partial<ParticleParams>
/** Do not start the component's emitter at init; wait for an event. */
manual?: boolean
/** Event name → a burst: a preset name, or a preset plus a count and overrides. */
on?: Record<string, string | { preset?: string; count?: number; params?: Partial<ParticleParams> }>
}
Import: import type { ParticlesProps } from "@argus/gameplay"
Members
| Member | Signature | Description |
|---|---|---|
params | params?: Partial<ParticleParams> | Parameter overrides applied on top of the preset and the component. |
manual | manual?: boolean | Do not start the component's emitter at init; wait for an event. |
on | on?: Record<string, string | { preset?: string; count?: number; params?: Partial<ParticleParams> }> | Event name → a burst: a preset name, or a preset plus a count and overrides. |