Skip to content

TextureSource

TextureSource = { shape?: never; texture: TextureInput; } | { shape?: ParticleShape | ShapeConfig; texture?: never; }

Defined in: particles/src/types.ts:19

Where an emitter’s particles get their look. The two options are mutually exclusive: setting both is a type error. With neither set, the emitter renders the default "pixel" shape.