Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainEditor module · class

UOrbdaleTerrainHeightmapFactory

ExperimentalEditor only

Create a terrain tile store from a 16-bit PNG or RAW16 heightmap, picked from the Content Browser's Add menu.

Declaration

UCLASS()
class UOrbdaleTerrainHeightmapFactory : public UFactory
Header
#include "Factories/OrbdaleTerrainFactories.h"
Module
PublicDependencyModuleNames.Add("OrbdaleTerrainEditor"); in an editor module’s Build.cs: an editor module, not in packaged games.
Stability
Experimental: supported, may change in a minor version, with a changelog line.
Thread
Game thread, editor only.
Derives from
UFactory

Description

Not an import factory on purpose: a PNG dropped into the browser stays a texture. ConfigureProperties opens a file picker and, when no sidecar gives the scale and extent, the import dialog; FactoryCreateNew runs UOrbdaleTerrainHeightmapImport.

Note.

Game thread, editor only. Tier 3.

Functions

Properties

NameTypeDefaultMeaning
SourceFileFString—

The heightmap to import; ConfigureProperties sets it, tests and scripts set it directly.

SettingsTObjectPtr<UOrbdaleTerrainHeightmapImportSettings>—

The scale and extent used when no sidecar sits beside SourceFile; ConfigureProperties fills it.

bShowDialogsbooltrue

Ask for the file and the settings.

false in tests, which set SourceFile and Settings.