Orbdale Terrain · OrbdaleTerrain module · member function
UOrbdaleTerrainSubsystem::
SaveTerrainToBytes
BlueprintThe terrain's mutable state as versioned bytes: feature stack, sculpt layer and the natural ground's identity, never baked tiles.
Declaration
UFUNCTION(BlueprintCallable, Category="Orbdale|Terrain|Save")
bool SaveTerrainToBytes(TArray<uint8>& OutBytes) const;Blueprint Save Terrain to Bytes
The graph as text
- Save Terrain to Bytes (pure function; Target is Orbdale Terrain Subsystem)
- In Target (self object): self
- Out Out Bytes (array of Byte): not connected
- Out Return Value (Boolean): not connected
- Header
#include "OrbdaleTerrainSubsystem.h"- Module
PublicDependencyModuleNames.Add("OrbdaleTerrain");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 UOrbdaleTerrainSubsystem)
- Blueprint
- Save Terrain to Bytes, in Orbdale › Terrain › Save
Description
For a USaveGame slot, beside SaveNetworkToBytes. Allowed on a read-only terrain.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
OutBytes | TArray< | — | — |
Returns
false when there is no terrain.