struct

FTerrainNoiseAsset

FTerrainNoiseAsset (.mnoise) — an authored procedural noise stack, the thing UE5 has no equivalent of: World Machine's layer list as a first-class asset. It stores the LAYERS, not a baked heightfield, so the same stack drives a whole-field generate on a 1025² terrain, a brush pattern that keeps its grain at any radius, and a 128² preview thumbnail from one description.

Module
Game
Header
#include "Terrain/TerrainNoiseAsset.h"
Namespace
Mowo

The stack is deliberately resolution-independent — every frequency is cycles per METER — which is what lets a stack authored against a 256 m terrain be dropped on a 4 km one and still read as the same landscape.

Properties

TypeNameDescription
std::stringname
floatbaseHeightThe value every blend starts from, so a Multiply-only or Min-only stack still has something to act on. Default 0.0f.
floatpreviewWorldSizeThe world span the PREVIEW is rendered over. Not a property of the stack — the stack is scale-free — but a preview needs some window, and storing it means reopening the asset shows the framing it was authored against instead of an arbitrary default. Default 512.0f.
std::vector<FTerrainNoiseLayer>layers

Public functions

ReturnsNameDescription
FTerrainNoiseAssetDefault
voidRenderPreviewGrayscale preview, size x size, row-major, normalized so the lowest sample is 0 and the highest 255.
voidPreviewRangeMin/max of the stack over the preview window, in meters.
boolLoad
boolSaveToFile
std::stringSerializeToString
boolLoadFromString

Function details

Default

C++
static FTerrainNoiseAsset Default()

RenderPreview

C++
void RenderPreview(uint32_t size, std::vector<uint8_t>& outGray) const

Grayscale preview, size x size, row-major, normalized so the lowest sample is 0 and the highest 255. Empty when the stack evaluates flat — a flat stack has no contrast to stretch and any normalization would amplify float noise into visible banding.

PreviewRange

C++
void PreviewRange(uint32_t size, float& outMin, float& outMax) const

Min/max of the stack over the preview window, in meters. The panel shows it because amplitude is the one stack property a normalized preview deliberately hides.

Load

C++
bool Load(const std::string& path)

SaveToFile

C++
bool SaveToFile(const std::string& path) const

SerializeToString

C++
std::string SerializeToString() const

LoadFromString

C++
bool LoadFromString(const std::string& text)
Generated from Terrain/TerrainNoiseAsset.h via game.json · Nov 5, 2026Version 1.0.0