FLandscapeImportHelper::GetWeightmapImportDescriptor

Unreal Engine C++ API Reference > 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
(
    const [FString](API\Runtime\Core\Containers\FString) & FilePath,
    bool bSingleFile,
    bool bFlipYAxis,
    [FName](API\Runtime\Core\UObject\FName) LayerName,
    [FLandscapeImportDescriptor](API\Editor\LandscapeEditor\FLandscapeImportDescriptor) & OutImportDescriptor,
    [FText](API\Runtime\Core\Internationalization\FText) & OutMessage
)

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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library