Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Material

Represents a material on a mesh.

Hierarchy

Implements

Index

Constructors

constructor

Accessors

alphaCutoff

  • get alphaCutoff(): number
  • set alphaCutoff(value: number): void

alphaMode

color

id

  • get id(): string

mainTexture

mainTextureId

  • get mainTextureId(): string
  • set mainTextureId(value: string): void

mainTextureOffset

  • get mainTextureOffset(): Vector2
  • set mainTextureOffset(value: Vector2): void

mainTextureScale

  • get mainTextureScale(): Vector2
  • set mainTextureScale(value: Vector2): void

material

name

  • get name(): string
  • A human-readable string identifying the asset. Not required to be unique, but can be referenced by name if it is.

    inheritdoc

    Returns string

source

Methods

copy