Inspector parameters to code

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 :wink: