setMaterialInstanceAt

open fun setMaterialInstanceAt(@IntRange(from = 0) primitiveIndex: Int, materialInstance: MaterialInstance)

Changes the material instance binding for the given primitive.

See also

RenderableManager.setMaterialInstanceAt