ILandscapeWeightmapFileFormat

Windows
MacOS
Linux

References

Module

LandscapeEditor

Header

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

Include

#include "LandscapeFileFormatInterface.h"

Syntax

class ILandscapeWeightmapFileFormat

Destructors

Name Description

Public function Virtual

~ILandscapeWeightmapFileFormat()

Even though this is an interface class we need a virtual destructor as derived objects are deleted via a pointer to this interface

Functions

Name Description

Public function Virtual Const

void

 

Export

(
    const TCHAR* WeightmapFilename,
    FName LayerName,
    TArrayView< const uint8 > Data,
    FLandscapeFileResolution DataResolu...
)

Export a file (if supported)

Public function Const

const FLands...

 

GetInfo()

Gets info about this format

Public function Const

FLandscapeWe...

 

Import

(
    const TCHAR* WeightmapFilename,
    FName LayerName,
    FLandscapeFileResolution ExpectedRe...
)

Import a file

Public function Const

FLandscapeWe...

 

Validate

(
    const TCHAR* WeightmapFilename,
    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)

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