@tsparticles/updater-orbit
Version:
tsParticles particles orbit updater
15 lines (14 loc) • 852 B
TypeScript
import { type IDelta, type IParticleUpdater, type PluginManager, type RecursivePartial } from "@tsparticles/engine";
import type { IOrbitParticlesOptions, OrbitContainer, OrbitParticle, OrbitParticlesOptions } from "./Types.js";
import { OrbitType } from "./Enums.js";
export declare class OrbitUpdater implements IParticleUpdater {
#private;
constructor(pluginManager: PluginManager, container: OrbitContainer);
afterDraw(particle: OrbitParticle): void;
beforeDraw(particle: OrbitParticle): void;
drawOrbit(particle: OrbitParticle, type: OrbitType): void;
init(particle: OrbitParticle): void;
isEnabled(particle: OrbitParticle): boolean;
loadOptions(options: OrbitParticlesOptions, ...sources: (RecursivePartial<IOrbitParticlesOptions> | undefined)[]): void;
update(particle: OrbitParticle, delta: IDelta): void;
}