Model.add_or_get_material
- Model.add_or_get_material(material)
Add a material to the model or retrieve an existing instance of the same type.
- Parameters:
- material
Material A material.
- material
- Returns:
Material
Add a material to the model or retrieve an existing instance of the same type.
MaterialA material.
Material