@tsparticles/plugin-emitters
Version:
tsParticles emitters plugin
8 lines (7 loc) • 350 B
TypeScript
import type { Engine } from "@tsparticles/engine";
import type { IEmitterShapeGenerator } from "./IEmitterShapeGenerator.js";
import type { ShapeManager } from "./ShapeManager.js";
export type EmittersEngine = Engine & {
addEmitterShapeGenerator?: (name: string, shape: IEmitterShapeGenerator) => void;
emitterShapeManager?: ShapeManager;
};