ILandscapeFileFormat

Unreal Engine C++ API Reference > Editor > LandscapeEditor

References

   
Module LandscapeEditor
Header /Engine/Source/Editor/LandscapeEditor/Public/LandscapeEditorModule.h
Include #include "LandscapeEditorModule.h"

Syntax

template<class T>  
class ILandscapeFileFormat  

Destructors

Type Name Description
  ~ILandscapeFileFormat () Note: Even though this is an interface class we need a virtual destructor as derived objects are deleted via a pointer to this interface

Functions

Type Name Description
void Export ( const TCHAR* Filename, TArrayView< const T > Data, FLandscapeFileResolution DataResolu..., FVector Scale )  
void Export ( const TCHAR* Filename, FName LayerName, TArrayView< const T > Data, FLandscapeFileResolution DataResolu..., FVector Scale ) Export a file (if supported)
const FLands... GetInfo () Gets info about this format
FLandscapeIm... Import ( const TCHAR* Filename, FLandscapeFileResolution ExpectedRe... )  
FLandscapeIm... Import ( const TCHAR* Filename, FName LayerName, FLandscapeFileResolution ExpectedRe... ) Import a file
FLandscapeFi... Validate ( const TCHAR* Filename )  
FLandscapeFi... Validate ( const TCHAR* Filename, FName LayerName ) 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)

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library