The pack
particleTextures
function particleTextures(opts: ParticleTexturesOptions = {}): Pack<{}>
The particle textures pack: paints ten classic white particle shapes into the atlas at attach —
particle:disc, particle:soft, particle:flare, particle:ring, particle:star, particle:spark, particle:petal,
particle:square, particle:pixel, particle:smoke — so an effect needs no asset file. All white with alpha;
colour comes from the emitter. Headless it registers the keys with no pixels.
Constants
PARTICLE_TEX_KINDS
const PARTICLE_TEX_KINDS: ReadonlyArray<ParticleTexKind>
Every kind this pack paints.
Types
ParticleTexKind
type ParticleTexKind = 'disc' | 'soft' | 'flare' | 'ring' | 'star' | 'spark' | 'petal' | 'square' | 'pixel' | 'smoke'
The painted classics, by key suffix: particle:<kind>.
ParticleTexturesOptions
interface ParticleTexturesOptions
Manifest options.
size?: number— Texture size in pixels (square). Default 64.


