Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainEditor module · member function

UOrbdaleTerrainHeightmapImport::

ImportHeightmap

Editor onlyBlueprint

Python and Blueprint entry: ImportHeightmapFile with the default options.

Declaration

UFUNCTION(BlueprintCallable, Category="Orbdale|Terrain|Editor")
static FOrbdaleTerrainImportResult ImportHeightmap(const FString& Path, UOrbdaleTerrainTileStoreAsset* Store);
Blueprint Import Heightmap
The graph as text
  1. Import Heightmap (function call)
    • In Path (String): empty
    • In Store (OrbdaleTerrainTileStoreAsset object): None
    • Out Return Value (OrbdaleTerrainImportResult): not connected
Header
#include "OrbdaleTerrainHeightmapImport.h"
Module
PublicDependencyModuleNames.Add("OrbdaleTerrainEditor"); in an editor module’s Build.cs: an editor module, not in packaged games.
Stability
Stable: changes within a major version only add.
Blueprint
Import Heightmap, in Orbdale › Terrain › Editor

Parameters

NameTypeDefaultMeaning
Pathconst FString&——
StoreUOrbdaleTerrainTileStoreAsset*——

Returns

success flag and one report line: counts and bytes, or why the import was refused. A struct, because Python gets None from a bool return with an out parameter on false and would lose the reason.