Skip to content

ParticleEmitterSource

ParticleEmitterSource = { shape?: never; textureKey: string; } | { shape: ResolvedShape; textureKey?: never; }

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

Where a restored emitter gets its look. Carries the same one-source rule as TextureSource: a snapshot holds the asset key or the shape, never both. A raw texture object is not serializable, so it has no arm here.