import type { IVector3 } from "type-tls"; import type { VolumeFeature } from "../../type"; import { BufferGeometry, Points } from "three"; import { ColorFogPointsMaterial } from "./ColorFogPointsMaterial"; import type { ColorFogPointsMaterialOptions } from "./ColorFogPointsMaterial"; interface ColorFogPointFeature extends Omit { /** * 颜色 RGBA * @remarks * 其中 RGB 取值是 0 - 255,A 的取值是 0 - 1 */ color?: [number, number, number, number]; } export type ColorFogPoint = ColorFogPointFeature & IVector3; export interface ColorFogPointsOptions extends ColorFogPointFeature { points: ColorFogPoint[]; } export type CreateColorFogPointsOptions = ColorFogPointsOptions & ColorFogPointsMaterialOptions; /** * 创建颜色雾点 * @param options * @returns */ export declare function createColorFogPoints(options: CreateColorFogPointsOptions): Points, ColorFogPointsMaterial>; export {}; //# sourceMappingURL=createColorFogPoints.d.ts.map