Class Material

Defines a material within a BlockModel.

Material

Constructors

Properties

Methods

Constructors

Properties

fileName: string

The file name for this material.

Memberof

Material

id: string

The unique id for this material.

Memberof

Material

texture: Texture

The texture for this material.

Memberof

Material

Methods

  • Serializes the Material into a JSON object.

    Returns any

    The serialized Material as a JSON object.

    Memberof

    Material

Generated using TypeDoc