Edit material properties with c++?

Is there any docs on editing a material’s properties in c++?

Specifically I need to link already imported file texture nodes.

To link an existing file, can I just use Material->BaseColor(“textureName”) somehow?

Thanks!

EDIT: I am trying this in editor, via a plugin, not at runtime.

I think you are looking for this: How to set a texture parameter in C++? - Rendering - Unreal Engine Forums