Orrery Terrain · OrreryTerrainEditor module · member function
UOrreryTerrainBake::
ComposeStore
Editor onlyCompose Source with Authoring's payload into OutStore, which must be empty and not Source.
Declaration
static bool ComposeStore(const UOrreryTerrainSourceAsset& Source, const UOrreryTerrainAuthoringData& Authoring,
const FOrreryTerrainBakeOptions& Options, UOrreryTerrainTileStoreAsset& OutStore,
FOrreryTerrainBakeReport& OutReport);- Header
#include "Authoring/OrreryTerrainBake.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrainEditor");in an editor module’s Build.cs: an editor module, not in packaged games.- Stability
- Stable: changes within a major version only add.
- Thread
- Game thread (ParallelFor inside).
Description
Changes nothing else.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Source | const UOrrery | — | The natural ground the payload was saved over. |
Authoring | const UOrrery | — | The payload to fold in. |
Options | const FOrrery | — | Banding and workers; bSave is ignored. |
OutStore | UOrrery | — | Receives the grid (Source's origin, the edit cell, subdivision 1), the tiles, the provenance. |
OutReport | FOrrery | — | Counts, precision and hashes, or why it refused. StorePath and the paths are left to the caller. |
Returns
false, with OutReport.Error set, when the payload does not load over Source, a tile does not compose exactly, or the store cannot be built or opened. OutStore is untouched unless the failure came after it was written (the built store does not open); the caller discards it.
Game thread (ParallelFor inside). Deterministic: the same input gives byte-identical stores.