Orrery Terrain · OrreryTerrain module · class
UOrreryTerrainAuthoringData
What the author made in the terrain editor, kept beside the map until a bake folds it into a tile store (Tier 3).
Declaration
UCLASS(ClassGroup=Orrery)
class UOrreryTerrainAuthoringData : public UObject- Header
#include "OrreryTerrainAuthoringData.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Thread
- Game thread.
- Derives from
UObject
Description
The payload is a terrain save (the current save format) written with an owner filter, so only the editor's own features ('TSED') are in it; the sculpt layer is whole. It is bytes in one bulk blob, never per-post properties. AOrreryTerrainActor::AuthoringData names it, and UOrreryTerrainSubsystem::CreateTerrain restores it before the terrain's first publish in any world with editor-only data (editor, PIE, uncooked game).
The class is editor-only (IsEditorOnly): the cook never packages it, and a cooked game has no payload and no restore. The payload exists only with WITH_EDITORONLY_DATA.
Game thread. The editor module captures into it; the runtime module only reads it.
Functions
- IsEditorOnly
- Serialize
- HasPayload
True when a payload is stored.
- GetPayloadBytes
Size of the stored payload, bytes; 0 when empty.
- GetPayload
Copy the payload out.