Orrery Terrain · OrreryTerrain module · member function
UOrreryTerrainProceduralSourceAsset::
MakeTileSource
Bake the asset into a Tier-1 source.
Declaration
virtual std::shared_ptr<const OrreryTerrain::Native::ITileSource> MakeTileSource() const override;- Header
#include "OrreryTerrainSourceAsset.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");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.