ILandscapeFileFormat::Import

Import a file

Choose your operating system:

Windows

macOS

Linux

References

Module

LandscapeEditor

Header

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

Include

#include "LandscapeFileFormatInterface.h"

Syntax

FLandscapeImportData< T > Import
(
    const TCHAR * Filename,
    FName LayerName,
    FLandscapeFileResolution ExpectedResolution
) const

Remarks

Import a file

Returns

imported data and (optional) error message

Parameters

Parameter

Description

Filename

path to the file to import

LayerName

name of layer being imported (in case of Heightmap this will be NAME_None)

ExpectedResolution

resolution selected in the import UI (mostly for the benefit of .raw)