Get all materials from the meshes

Simply use mesh.material :slight_smile:
If it’s a multimaterial, you may want to access to its subMaterials, so you will get a materials array using mesh.material.subMaterials

https://playground.babylonjs.com/#4AJ16M#334

3 Likes