import * as THREE from "three"; import type { ILodParams, TLevelStrategy, IEdgeParams, IMaskColor } from "./types"; /** * 构建模型尺寸 * @param object */ export declare const buildObjectSize: (object: THREE.Object3D) => THREE.Vector3; /** * 构建基本的分级策略 * @param object 模型 * @param distance 模型的显示距离 * @param distance2 替代模型的显示距离 * @param baseMaterialParams 基础材质参数 */ export declare const buildBaseStrategy: (object: THREE.Object3D, distance: number, distance2: number, baseMaterialParams?: THREE.MeshStandardMaterialParameters) => THREE.LOD; /** * 构建一组分级策略 * @param levelStrategys 级别策略数组 * @param lodParams 级别策略的参数 */ export declare const buildLevelStrategy: (levelStrategys: TLevelStrategy[], lodParams?: ILodParams | undefined) => THREE.LOD; /** * 构建模型线框 * @param model * @param params */ export declare const buildEdge: (model: THREE.Object3D, params?: IEdgeParams | undefined) => void; /** * 构建模型蒙版材质 * @param model * @param params */ export declare const setMaskColorMaterial: (model: THREE.Object3D, params: IMaskColor) => void; /** * 恢复模型蒙版材质 * @param model */ export declare const recoverMaskColorMaterial: (model: THREE.Object3D) => void;