Orrery Terrain · OrreryTerrainEditor module · struct
FOrreryDemImportOptions
Editor onlySettings of one DEM import: the heightmap import's (mip depth, memory budget, compression) and the DEM's own.
Declaration
struct FOrreryDemImportOptions : public FOrreryHeightmapImportOptions- 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.
- Derives from
FOrreryHeightmapImportOptions
Description
FOrreryHeightmapImportOptions::SidecarPath is not read: a GeoTIFF carries its placement.
Properties
| Name | Type | Default | Meaning |
|---|---|---|---|
Decimate | int32 | 1 | Keep every Nth post in X and Y (point sampling, as the mips do); the cell becomes the pixel size times this. 1..1024. |
b | bool | false | Take (GeoOriginEasting_m, GeoOriginNorthing_m) as the CRS position of world (0, 0); otherwise the north-west post is. |
Geo | double | 0.0 | Metres in the file's CRS. |
Geo | double | 0.0 | Metres in the file's CRS. |
Cell_ | double | 0.0 | Post spacing, metres, before decimation. Required for a file without placement; for a placed file 0 or its pixel size (another value is refused, never resampled). |
Origin_ | FVector2 | FVector2 | World position of the north-west post of a file without placement, metres. Ignored for placed files. |
Linear | double | 0.0 | Metres per CRS unit for a file without ProjLinearUnits (3076); 0 keeps the metre the reader assumed. |
b | bool | false | Replace the files' nodata (GDAL_NODATA) with Nodata, compared with the raw sample before any scale. NaN is allowed. |
Nodata | double | 0.0 | — |
Max | double | 0.05 | Refuse the import when more than this fraction of the decimated posts has no data. |
b | bool | true | Decode a band's blocks with ParallelFor; false decodes on the calling thread (the result is the same). |