GLTFContent.get_material_index_by_name
- GLTFContent.get_material_index_by_name(name)[source]
Returns the index of the material.
- Parameters
name (str) – The name of the material
- Returns
int or None
Returns the index of the material.
name (str) – The name of the material
int or None
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev