interface IEffectDrawer<TParticle> {
    destroy?: ((container: Container) => void);
    draw: ((data: IShapeDrawData<TParticle>) => void);
    init?: ((container: Container) => Promise<void>);
    loadEffect?: ((particle: TParticle) => void);
    particleInit?: ((container: Container, particle: TParticle) => void);
}

Type Parameters

Properties

destroy?: ((container: Container) => void)
draw: ((data: IShapeDrawData<TParticle>) => void)
init?: ((container: Container) => Promise<void>)
loadEffect?: ((particle: TParticle) => void)
particleInit?: ((container: Container, particle: TParticle) => void)