GLTFContent.add_material

GLTFContent.add_material(material)[source]

Adds a material to the content.

Parameters

material (compas.files.data_classes.MaterialData) – The material to add

Returns

int