materials_compendium.utils.Material.get_name

Material.get_name()[source]

Get the name of the material.

Returns:

The name of the material.

Return type:

str

Example

print(material.get_name()) # Output: “Sample Material”