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