materialKey static method
What materials calls the material at index of data.
Implementation
static String materialKey(ModelData data, int index) {
final name = data.materials[index].name;
return name == null || name.isEmpty ? '#$index' : name;
}