ILandscapeFileFormat::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)

Unreal Engine C++ API Reference > Editor > LandscapeEditor > ILandscapeFileFormat > Validate

References

   
Module LandscapeEditor
Header /Engine/Source/Editor/LandscapeEditor/Public/LandscapeFileFormatInterface.h
Include #include "LandscapeFileFormatInterface.h"
[FLandscapeFileInfo](API\Editor\LandscapeEditor\FLandscapeFileInfo) Validate
(
    const TCHAR * Filename,
    [FName](API\Runtime\Core\UObject\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) information about the file and (optional) error message

Parameters

Name Description
Filename path to the file to validate for import
LayerName name of layer that is being imported (in case of Heightmap this will be NAME_None)

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library