getMaterialInstanceAt

fun getMaterialInstanceAt(instance: EntityInstance, primitiveIndex: Int): MaterialInstance?

Gets a material instance on a primitive.

Return

the material instance, or null for default