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:
-
A guide to import such a heightmap via code, of course.
-
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?
-
Any example, tutorial or guide which initializes, modifies landscape via code.
[4) What I cannot think of at the moment.]