import{_ as e,c as t,o as a,N as r}from"./chunks/framework.0799945b.js";const b=JSON.parse('{"title":"Module: features/particles/particles","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/features/particles/particles.md","lastUpdated":null}'),s={name:"api/modules/features/particles/particles.md"},i=r('
Ƭ GenericParticles: Particles
<ParticlesOptions
>
A type that matches any valid Particles object.
profectus/src/features/particles/particles.tsx:63
Ƭ Particles<T
>: Replace
<T
& BaseParticles
, { classes
: GetComputableType
<T
["classes"
]> ; style
: GetComputableType
<T
["style"
]> }>
An object that represents a feature that display particle effects on the screen. The config should typically be gotten by designing the effect using the online particle effect editor and passing it into the upgradeConfig from @pixi/particle-emitter.
Name | Type |
---|---|
T | extends ParticlesOptions |
profectus/src/features/particles/particles.tsx:54
• Const
ParticlesType: typeof ParticlesType
A symbol used to identify Particles features.
profectus/src/features/particles/particles.tsx:12
▸ createParticles<T
>(optionsFunc?
): Particles
<T
>
Lazily creates particles with the given options.
Name | Type |
---|---|
T | extends ParticlesOptions |
Name | Type | Description |
---|---|---|
optionsFunc? | OptionsFunc <T , BaseParticles , GenericParticles > | Particles options. |
Particles
<T
>