MultiMaterial

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 materialindex corresponds with the index of the material in the materials array.

Constructor

MultiMaterial( materials )

materials -- The materials for the geometry.
Creates a MultiMaterial with the correct materials.

Properties

.materials

Get or set the materials for the geometry.

Methods

Source

src/materials/MultiMaterial.js
Edit