Interface PBMParameters

PBM 材质参数

interface PBMParameters {
    brightness: number;
    clippers: ClipperParameter[];
    colorBrightness: number;
    colorSaturation: number;
    colorStyle: "RGB" | "ALTITUDE" | "CONSTANT";
    constantColor: Vector3;
    customShaders: CustomShader[];
    distanceGain: number;
    floorStyle: "VISIBILITY" | "OPACITY";
    gradientTexture: Texture;
    modelAlpha: number;
    opacity: number;
    outlineGain: number;
    pano0: PBMPanoPicture;
    pano1: PBMPanoPicture;
    pointBack: "VISIBLE" | "HIDDEN" | "DARK";
    pointMaxPixel: number;
    pointMinPixel: number;
    pointScale: number;
    pointShape: "SQUARE" | "CIRCLE";
    pointSize: "FIXED" | "ATTENUATION" | "GEOMETRIC";
    progress: number;
    shownFloorIndex: number;
    transition: "BLACK" | "SPREAD" | "FADE";
    useAddBlend: boolean;
    useEDL: boolean;
    useHQDepth: boolean;
    useHQWeight: boolean;
}

Implemented by

Properties

brightness: number

亮度

clippers: ClipperParameter[]

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

colorBrightness: number

亮度调整值

colorSaturation: number

饱和度调整值

colorStyle: "RGB" | "ALTITUDE" | "CONSTANT"

颜色样式

constantColor: Vector3

模型颜色

customShaders: CustomShader[]

自定义材质

distanceGain: number

distance增益

floorStyle: "VISIBILITY" | "OPACITY"

楼层样式

gradientTexture: Texture

高程着色材质

modelAlpha: number

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

opacity: number

模型透明度

outlineGain: number

outline增益

起始点

结束点

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

点云背面绘制方式

pointMaxPixel: number

点云最大尺寸

pointMinPixel: number

点云最小尺寸

pointScale: number

点云基础大小

pointShape: "SQUARE" | "CIRCLE"

点云形状

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

点云大小绘制方式

progress: number

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

shownFloorIndex: number

楼层参数

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

全景图过度混合

useAddBlend: boolean

半透明叠加渲染

useEDL: boolean

是否使用EDL

useHQDepth: boolean

是否使用HQ_DEPTH_MASK

useHQWeight: boolean

是否使用HQ