Talos docs

ParticlesProps

Since 0.6
Plain text

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

MemberSignatureDescription
paramsparams?: Partial<ParticleParams>Parameter overrides applied on top of the preset and the component.
manualmanual?: booleanDo not start the component's emitter at init; wait for an event.
onon?: 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.