Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MeshMaterialMetallicRoughness

Hierarchy

Index

Properties

alphaCutoff

alphaCutoff: number

Specifies how transparency on the object is handled.

Read more...

alphaMode

alphaMode: "auto" | "blend" | "opaque" | "mask"

Specifies how transparency on the object is handled.

Read more...

color

color: Color

Specifies a single, uniform color for the mesh component.

Read more...

colorTexture

colorTexture: MeshTexture

Specifies a texture from which to get color information.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

doubleSided

doubleSided: boolean

Specifies whether both sides of each triangle are displayed, or only the front sides.

Read more...

emissiveColor

emissiveColor: Color

Specifies a single, uniform emissive color for the MeshComponent.

Read more...

emissiveTexture

emissiveTexture: MeshTexture

Specifies a texture from which to get emissive color information.

Read more...

initialized

initialized: boolean

metallic

metallic: number

Specifies how much the material behaves like a metal.

Read more...

metallicRoughnessTexture

metallicRoughnessTexture: MeshTexture

Specifies a texture from which to get the combined metallic/roughness information.

Read more...

normalTexture

normalTexture: MeshTexture

Specifies a texture from which to get normal information.

Read more...

occlusionTexture

occlusionTexture: MeshTexture

Allows to specify a texture to get the occlusion information from.

Read more...

roughness

roughness: number

Indicates how rough the surface of the material is.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns MeshMaterialMetallicRoughness

destroy

  • destroy(): void
  • Returns void

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns MeshMaterialMetallicRoughness

  • Parameters

    Returns MeshMaterialMetallicRoughness

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc