Import heightmap using c++

Hello !

I know there are already posts on this topic, but I could not find a working solution. Im a beginner in Unreal. I want to import the heightmap using a script, as it is possible in the editor. I have found a function that seems to serve this purpose: ALandscapeProxy::Import | Unreal Engine Documentation, but I need an example of its use. If this function does not meet expectations, I will appreciate any information about the possible solutions or functions in the engine code that can be used for this purpose.

Thank you in advance for your help!

1 Like