Setting texture file paths on texture nodes

Hi,

I am new to UE4 and its API. I am needing to package up a project and send to someone for rendering. Currently about 50% of the textures are sourced from a megascans directory in my user area. I want to copy these textures into the project area and relink all textures inside the editor.

I have done something similar in other application, but am unfamilar with the API in UE4, is someone able to give me some pointers here?

I guess I am after 3 commands.

  1. get a list of all textures nodes.
  2. get the current file path on the node.
  3. set the new file path.

Cheers,
Jim

Actually this might not be needed, because I think all the textures get saved into the project as .uassets when you save