The inspector at the sandbox is really awesome, question, if say for example I find a change in a parameter of a PBR material at the inspector that I really like, there should always be an equivalent babylon.js code command that will allow me to implement that exact change on the code right?
yes just made a test with
mesh.material.roughness = 0.9;
mesh.material.roughness = 0;
and it works 
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How do I identify which piece of code governs the respective setting in the inspector? | 9 | 455 | March 23, 2023 | |
| Set roughness of material on loaded GLB | 8 | 552 | March 11, 2023 | |
| Feedback on 'The inspector' | 24 | 1006 | February 3, 2021 | |
| Where to find core texture channels code of sandbox inspector on github | 2 | 662 | February 12, 2021 | |
| Babylon Editor - How to edit a Material in Mesh Viewer? | 3 | 891 | November 10, 2021 |