Set parameters as texture or color in NodeMaterial via code

Thank you, that worked.

var property = nodeMaterial.getBlockByName("DiffuseTexture");
var textBlock = property as BABYLON.TextureBlock;