addMaterial

fun addMaterial(material: Material)

Adds a material to the model.

Parameters

material

The material to add.