Assign a specific texture to an object

As we can upload different textures in the 3D setting, if my model is a single object, can we assign / switch textures through the API?

On client side using viewer API here’s a sample showing how to do it Viewer API - Examples - Sketchfab

1 Like

Thank you Paul, that’s help!
The mistake I’ve made while testing (finally I tried/tested with 3 objects, each with one material) is that when using api.GetMaterialList , It returns a list of 3 materials, and I could assign a specific texture uid to each MyMaterial[i]. But it appears that when reloading the model the material list could be swapped (former 0 becomes 1 and so forth…)
So I’m progessing…