Create and Modify Node Material in Code on the fly?

Is it possible to download generated code from NodeMaterial Snippet? I want to modify properties on the fly of generated code. I want to get the code generated for this snippet and modify it without using Node Material Editor and based on user input. Eg>say we have this snippet can I get generated code not the final material.

Yes :slight_smile:
like this:

let code = nodeMaterial.generateCode();
1 Like

Perfect :+1:

1 Like