Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MeshMaterial

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...

initialized

initialized: boolean

normalTexture

normalTexture: MeshTexture

Specifies a texture from which to get normal information.

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 MeshMaterial

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 MeshMaterial

  • Parameters

    Returns MeshMaterial

watch

  • Parameters

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

    Returns WatchHandle

Generated using TypeDoc