Import Heightmap to Runtime Startc

I know how to import a heightmap from a grayscale PNG-picture, that’s easy, but I want to import such a heightmap, which is generated by a semi-automatic method (also coded), via c++ code (e.g. when I press run/start). But I get lost in the landscape and similar classes.

I mean there is e.g. this method: ALandscapeProxy::Import | Unreal Engine Documentation

But still, I have no idea how I get such a result as I would import the map with the editor.

The following would be helpful:

  1. A guide to import such a heightmap via code, of course.

  2. A log or something else which displays all called methods and instances when you do something in the editor (not at runtime) like transforming an actor. Does something like this exist?

  3. Any example, tutorial or guide which initializes, modifies landscape via code.

[4) What I cannot think of at the moment.]

1 Like

Were you able to find any good resources on this? I am trying to doing something very similar.

1 Like

Any answer?

1 Like