Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · member function

UOrreryTerrainDemImport::

ImportGeoTiff

Editor onlyBlueprint

Python and Blueprint entry: ImportGeoTiffFiles with the default options and a decimation.

Declaration

UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Editor")
static FOrreryTerrainImportResult ImportGeoTiff(const TArray<FString>& Paths, UOrreryTerrainTileStoreAsset* Store, int32 Decimate);
Blueprint Import Geo Tiff
The graph as text
  1. Import Geo Tiff (function call)
    • In Paths (array of String): not connected
    • In Store (OrreryTerrainTileStoreAsset object): None
    • In Decimate (Integer): 0
    • Out Return Value (OrreryTerrainImportResult): not connected
Header
#include "OrreryTerrainDemImport.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainEditor"); 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 Geo Tiff, in Orrery › Terrain › Editor

Description

Returns a struct, because Python gets None from a bool return with an out parameter on false and would lose the reason. A refusal is also logged as a LogOrreryTerrainShell warning.

Parameters

NameTypeDefaultMeaning
Pathsconst TArray<FString>&—

Absolute GeoTIFF file paths.

StoreUOrreryTerrainTileStoreAsset*—

The store to fill.

Decimateint32—

Keep every Nth post, 1..1024.

Returns

success flag and one report line: counts and bytes, or why the import was refused.