Class PBMPointCloudMaterial

PBM 材质参数

Hierarchy

  • ShaderMaterial
    • PBMPointCloudMaterial

Implements

Constructors

Properties

brightness: number

亮度

clippers: ClipperParameter[]

对外模型裁切参数

colorBrightness: number

HSV亮度调整值

colorSaturation: number

饱HSV和度调整值

constantColor: Vector3

模型颜色

customShaderDefines: Record<string, any>

上一次的customShaderDefines

customShaderHash: string

上一次的customShader

customShaderUniforms: Record<string, Uniform>

上一次的customShaderUniforms

customShaders: CustomShader[]

自定义材质

floor: number

所属楼层

floorStyle: "VISIBILITY" | "OPACITY"

楼层样式

gradientTexture: Texture

高程彩色图

modelAlpha: 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

楼层参数

syncModelVersion?: string

更新版本

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

全景图过度混合

useEDL: boolean

是否使用EDL

useHQDepth: boolean

是否使用HQ_DEPTH_MASK

useHQWeight: boolean

是否使用HQ

Methods

  • Copy the parameters from the passed material into this material.

    Parameters

    Returns this

  • An optional callback that is executed immediately before the shader program is compiled. This function is called with the shader source code as a parameter. Useful for the modification of built-in materials.

    Parameters

    • shader: Shader

      Source code of the shader

    • renderer: WebGLRenderer

      WebGLRenderer Context that is initializing the material

    Returns void

  • Parameters

    Returns void