Navigation
API > API/Editor > API/Editor/LandscapeEditor > API/Editor/LandscapeEditor/ILandscapeFileFormat > API/Editor/LandscapeEditor/ILandscapeFileFormat/Validate
References
| Module | LandscapeEditor |
| Header | /Engine/Source/Editor/LandscapeEditor/Public/LandscapeFileFormatInterface.h |
| Include | #include "LandscapeFileFormatInterface.h" |
FLandscapeFileInfo Validate
&40;
const TCHAR &42; Filename,
FName LayerName
&41; 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) |