Navigation
API > API/Editor > API/Editor/LandscapeEditor > API/Editor/LandscapeEditor/FLandscapeImportHelper
References
| Module | LandscapeEditor |
| Header | /Engine/Source/Editor/LandscapeEditor/Public/LandscapeImportHelper.h |
| Include | #include "LandscapeImportHelper.h" |
| Source | /Engine/Source/Editor/LandscapeEditor/Private/LandscapeImportHelper.cpp |
static ELandscapeImportResult GetWeightmapImportDescriptor
&40;
const FString & FilePath,
bool bSingleFile,
bool bFlipYAxis,
FName LayerName,
FLandscapeImportDescriptor & OutImportDescriptor,
FText & OutMessage
&41;
If the operation was a Success/Error/Warning.
Parameters
| Name | Description |
|---|---|
| FilePath | File to import when bSingleFile is true. |
| bSingleFile | If false FilePath will be used as the seed to find matching "_xA_yB" files in the same directory. |
| LayerName | Name of the Weightmap layer being imported. This can be used by the file formats. |
| OutImportDescriptor | Descriptor output which contains all the information needed to call GetHeightmapImportData. |
| OutMessage | In case the result of the operation is an error or warning, this will contain the reason. |