ILandscapeWeightmapFileFormat::Validate

Validate a file for Import Gives the file format the opportunity to reject a file or return warnings as well as return information about the file for the import UI (e.g. resolution and scale)

Windows
MacOS
Linux

References

Module

LandscapeEditor

Header

/Engine/Source/Editor/LandscapeEditor/Public/LandscapeFileFormatInterface.h

Include

#include "LandscapeFileFormatInterface.h"

Syntax

FLandscapeWeightmapInfo Validate
(
    const TCHAR * WeightmapFilename,
    FName LayerName
) const

Remarks

Validate a file for Import Gives the file format the opportunity to reject a file or return warnings as well as return information about the file for the import UI (e.g. resolution and scale)

Returns

information about the file and (optional) error message

Parameters

Parameter

Description

HeightmapFilename

path to the file to validate for import

LayerName

name of layer that is being imported

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss