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('

Module: features/particles/particles

Components

Interfaces

Type Aliases

GenericParticles

Ƭ GenericParticles: Particles<ParticlesOptions>

A type that matches any valid Particles object.

Defined in

profectus/src/features/particles/particles.tsx:63


Particles

Ƭ 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.

Type parameters

NameType
Textends ParticlesOptions

Defined in

profectus/src/features/particles/particles.tsx:54

Variables

ParticlesType

Const ParticlesType: typeof ParticlesType

A symbol used to identify Particles features.

Defined in

profectus/src/features/particles/particles.tsx:12

Functions

createParticles

createParticles<T>(optionsFunc?): Particles<T>

Lazily creates particles with the given options.

Type parameters

NameType
Textends ParticlesOptions

Parameters

NameTypeDescription
optionsFunc?OptionsFunc<T, BaseParticles, GenericParticles>Particles options.

Returns

Particles<T>

Defined in

profectus/src/features/particles/particles.tsx:69

',37),l=[i];function c(o,n,d,p,h,f){return a(),t("div",null,l)}const m=e(s,[["render",c]]);export{b as __pageData,m as default};