Interface PBMParameters

PBM 材质参数

interface PBMParameters {
    brightness: number;
    clippers: ClipperParameter[];
    constantColor: Vector3;
    gradientTexture: Texture;
    modelAlpha: number;
    opacity: number;
    pano0: PBMPanoPicture;
    pano1: PBMPanoPicture;
    pointBack: "VISIBLE" | "HIDDEN" | "DARK";
    pointColor: "RGB" | "ALTITUDE";
    pointMaxPixel: number;
    pointMinPixel: number;
    pointScale: number;
    pointShape: "SQUARE" | "CIRCLE";
    pointSize: "FIXED" | "ATTENUATION" | "GEOMETRIC";
    progress: number;
    shownFloorIndex: number;
    transition: "BLACK" | "SPREAD" | "FADE";
    useEDL: boolean;
    useHQDepth: boolean;
    useHQWeight: boolean;
}

Implemented by

Properties

brightness: number

亮度

clippers: ClipperParameter[]

模型裁切参数(工程侧调用)

constantColor: Vector3

模型颜色

gradientTexture: Texture

高程彩色图

modelAlpha: number

模型贴图和全景图的混合程度 [0-1]

opacity: number

模型透明度

起始点

结束点

pointBack: "VISIBLE" | "HIDDEN" | "DARK"

点云背面绘制方式

pointColor: "RGB" | "ALTITUDE"

点云着色方式

pointMaxPixel: number

点云最大尺寸

pointMinPixel: number

点云最小尺寸

pointScale: number

点云基础大小

pointShape: "SQUARE" | "CIRCLE"

点云形状

pointSize: "FIXED" | "ATTENUATION" | "GEOMETRIC"

点云大小绘制方式

progress: number

全景图混合程度 [0-1]

shownFloorIndex: number

楼层参数

transition: "BLACK" | "SPREAD" | "FADE"

全景图过度混合

useEDL: boolean

是否使用EDL

useHQDepth: boolean

是否使用HQ_DEPTH_MASK

useHQWeight: boolean

是否使用HQ