MultiMaterial Class

Module: THREE

A Material to define multiple materials for the same geometry. The geometry decides which material is used for which faces by the faces materialindex. The material index corresponds with the index of the material in the .materials array.

MultiMaterials have been deprectaed in threejs R85 but some of the loaders still use it.

Original documentation available here https://threejs.org/docs/index.html#Reference/Materials/MultiMaterial.

Item Index

Methods

Properties

Methods

dispose

()

Dispose materials inside the container

Properties

name

String

Resource name. Not required to be unique.

uuid

String

UUID unique identifier.