import * as THREE from 'three'; import type { SmokeConfig } from './SmokeManager'; import type { ParticleTexture } from '../../utils/particleTexture'; /** * 普通烟雾管理器 * 管理传统的向上飘散烟雾效果 */ export declare class NormalSmokeManager { private scene; private config; private sources; private particleTexture; private unsubscribeTexture; constructor(scene: THREE.Scene, config: SmokeConfig, particleTexture: ParticleTexture); /** * 添加烟雾源 */ addSource(id: string, position: THREE.Vector3, intensity: number, fadeInMs?: number): void; /** 渐显:在 durationMs 内把浓度从 0 涨到目标值 */ private fadeInSource; /** * 平移某个烟雾源的粒子 */ moveSource(id: string, delta: THREE.Vector3): void; /** * 更新烟雾源强度 */ updateSourceIntensity(id: string, intensity: number): void; /** * 移除烟雾源 */ removeSource(id: string): void; /** * 创建普通烟雾粒子 */ private createNormalSmoke; /** * 更新普通烟雾参数 */ private updateNormalSmokeParams; /** * 清理所有烟雾 */ clearAll(): void; /** * 销毁管理器 */ destroy(): void; }