import type { PointsUniforms, FogPointsMaterialOptions, FogPointsMaterialUniforms } from "../FogPointsMaterial"; import { FogPointsMaterial } from "../FogPointsMaterial"; import { IUniform, PointsMaterialParameters, Vector2 } from "three"; import { IVector2 } from "type-tls"; /** * 梯度雾点材质的 uniforms */ export interface GradientFogPointsMaterialUniforms extends PointsUniforms, FogPointsMaterialUniforms { range: IUniform; } /** * 梯度雾点材质的选项 */ export interface GradientFogPointsMaterialOptions extends PointsMaterialParameters, FogPointsMaterialOptions { /** * 数值的映射区间 * @remarks * x 为最小值,y 为最大值 * * @defaultValue {x:0,y:100} */ range?: IVector2 | null; } /** * 梯度雾点材质 * @remarks * 需要 geoometry 有以下属性 * - value : 每个顶点都有一个数字类型的值 value * - radius : 仅当 useRadius 为 true 时必须;每个顶点都有一个数字类型的半径 * * 材质的 map 属性存储的是梯度图像,用于映射 value 的; */ export declare class GradientFogPointsMaterial extends FogPointsMaterial { readonly isColorFogPointsMaterial = true; constructor(options?: GradientFogPointsMaterialOptions); /** * 数值的映射区间 * @remarks * x 为最小值,y 为最大值 * * @defaultValue {x:0,y:100} */ get range(): Vector2; set range(value: Vector2); } //# sourceMappingURL=GradientFogPointsMaterial.d.ts.map