Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · class

UOrreryTerrainHeightmapImportSettings

ExperimentalEditor only

What the heightmap import asks when the heightmap has no sidecar to say it: the scale and the extent (Tier 3, editor only).

Declaration

UCLASS(Transient)
class UOrreryTerrainHeightmapImportSettings : public UObject
Header
#include "Factories/OrreryTerrainFactories.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainEditor"); 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.
Derives from
UObject

Description

Shown in the import dialog. With a sidecar beside the file (<file>.json or <name>.json) nothing is asked and the sidecar rules; without one the values here become a sidecar the importer reads.

Functions

Properties

NameTypeDefaultMeaning
FileFString—

The file being imported.

InfoFString—

What the file is: its size, or why it cannot be read.

bHasSidecarboolfalse

A sidecar sits beside the file and gives the scale and extent.

bIsRawboolfalse

True for a RAW file, which needs RawSize.

RawSizeint321025

Samples per row of a RAW file (a PNG says its own).

Square.

Cell_mdouble1.0

Post spacing in metres, 0.25 to 16.

The terrain spans (size - 1) times this.

LowestHeight_mdouble0.0

Height of the darkest sample (value 0), metres.

HighestHeight_mdouble1000.0

Height of the brightest sample (value 65535), metres.

Origin_mFVector2DFVector2D::ZeroVector

World position of the first sample, metres.

Extent_mdouble0.0

The side of the terrain these values make, metres; read-only.

FileSizeint320

Samples per row from the file; 0 while unknown.