Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrain module · member function

UOrbdaleTerrainHeightmapSourceAsset::

MakeTileSource

Bake the asset into a Tier-1 source.

Declaration

virtual std::shared_ptr<const OrbdaleTerrain::Native::ITileSource> MakeTileSource() const override;
Header
#include "OrbdaleTerrainSourceAsset.h"
Module
PublicDependencyModuleNames.Add("OrbdaleTerrain"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Thread
Game thread.

Returns

The source, or null, with a warning naming the fault, when the asset is incomplete (invalid grid, empty extent, no samples, values out of range). The caller owns it; it is immutable and thread-safe (ITileSource::Load runs on loader tasks).

Note.

Game thread. Copies what it needs: a heightmap's samples are copied into the source.