Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · member function

UOrreryTerrainSubsystem::

LoadTerrainFromArchive

Load a version-4 save streamed from an archive (an editor bulk-data payload): every byte read and checked, every code kept in RAM.

Declaration

EOrreryTerrainLoadResult LoadTerrainFromArchive(FArchive& Ar, int64 NumBytes);
Header
#include "OrreryTerrainSubsystem.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrain"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Thread
Every member function is game thread unless it says otherwise. (the rule of UOrreryTerrainSubsystem)

Description

As LoadTerrainFromBytes otherwise.

Parameters

NameTypeDefaultMeaning
ArFArchive&—

The archive to read, positioned at the save's first byte.

NumBytesint64—

The save's length from the archive's position.