如视 Five SDK
    Preparing search index...

    Class PBMMeshMaterial

    Hierarchy (View Summary)

    Implements

    • MeshBasicMaterial
    • MeshPhongMaterial
    • MeshStandardMaterial
    Index

    Constructors

    Properties

    alphaMap: Texture | null = null
    alphaMode: PBMAlphaMode = 'OPAQUE'
    aoMap: Texture | null = null
    aoMapIntensity: number = 1.0
    brightness: number
    bumpMap: Texture | null = null
    bumpScale: number = 1
    clearcoat: number = 0
    clearcoatMap: Texture | null = null
    clearcoatNormalMap: Texture | null = null
    clearcoatNormalScale: Vector2 = ...
    clearcoatRoughness: number = 0
    clearcoatRoughnessMap: Texture | null = null
    clippers: readonly PBMClipperParameter[]
    clipping: boolean = true
    color: Color = ...
    colorAlpha: number
    colorBrightness: number
    colorSaturation: number
    colorStyle: PBMColorStyle
    combine: Combine = ...
    constantColor: Vector3
    customShaders: readonly PBMCustomShader[] = []
    displacementBias: number = 0
    displacementMap: Texture | null = null
    displacementScale: number = 1
    emissive: Color = ...
    emissiveIntensity: number = 1
    emissiveMap: Texture | null = null
    envMap: CubeTexture | Texture | null = null
    envMapIntensity: number = 1
    floorIndex: number
    floorStyle: PBMFloorStyle
    gradientTexture: Texture | null
    isMeshBasicMaterial: boolean
    isMeshPhongMaterial: boolean
    isMeshPhysicalMaterial: boolean
    isMeshStandardMaterial: boolean
    isPBMMeshMaterial: true
    isShaderMaterial: true
    lightMap: Texture | null = null
    lightMapIntensity: number = 1.0
    map: Texture | null = null
    metal: boolean = false

    Use MeshStandardMaterial THREE.MeshStandardMaterial instead.

    metalness: number = 0
    metalnessMap: Texture | null = null
    modelAlpha: number
    modelBoundingMax: Vector3
    modelBoundingMin: Vector3
    morphNormals: boolean = false
    morphTargets: boolean = false
    normalMap: Texture | null = null
    normalMapType: NormalMapTypes = THREE.TangentSpaceNormalMap
    normalScale: Vector2 = ...
    onBeforeRender?: (
        renderer: WebGLRenderer,
        scene: Scene,
        camera: Camera,
        geometry: Geometry | BufferGeometry,
        object: Object3D,
        group: Group,
    ) => void
    pano0: PBMPanoPicture | null
    pano0Depth: PBMPanoDepth | null
    pano1: PBMPanoPicture | null
    pano1Depth: PBMPanoDepth | null
    panoFilter: PBMPanoFilterValue | null
    progress: number
    refinedScreen: PBMRefinedScreen | null
    reflectivity: number = 0.4
    refractionRatio: number = 0.98
    roughness: number = 1
    roughnessMap: Texture | null = null
    shaderType: PBMMeshShaderType
    sheen: Color | null = null
    shininess: number = 30
    shownFloorIndex: number
    skinning: boolean = false
    specular: Color = ...
    specularMap: Texture | null = null
    transition: PBMTransition
    transparency: number = 0
    useHQDepth: boolean
    useHQWeight: boolean
    vertexMarks: boolean
    vertexTangents: boolean = false
    wireframe: boolean = false
    wireframeLinecap: string = 'round'
    wireframeLinejoin: string = 'round'
    wireframeLinewidth: number = 1

    Methods

    • Return a new material with the same parameters as this material.

      Returns this

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

      Parameters

      Returns this

    • Returns void

      已经不需要再被调用了