Download

How to Import Landscape Masks through Blueprints or Python?

I’ve been trying to automate my world creation with Blueprints and Python and Unreal for the past week. I ran into an issue however as there doesn’t seem to be a whole lot of options when dealing with Landscape. Here’s what I have questions on.

  1. How do I create a Landscape using HeightMap Data programmatically?
  2. How would I import a .png mask (as seen in the image) through Blueprints (so the user doesn’t have to do it)?

Material_Import.png](filedata/fetch?id=1795406&d=1596213566)

I found this Class in the Python API Documentation. Is this the way to accomplish this or is there another easier way?

I found this Class in the Python API Documentation. Is this the way to accomplish this or is there another easier way?

I found this Class in the Python API Documentation. Is this the way to accomplish this or is there another easier way?