Orrery Terrain · OrreryTerrain module · member function
UOrreryTerrainSubsystem::
LoadTerrainFromBytes
BlueprintReplace the stack and sculpt layer from bytes, re-bake, publish once.
Declaration
UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Save")
EOrreryTerrainLoadResult LoadTerrainFromBytes(const TArray<uint8>& Bytes);Blueprint Load Terrain from Bytes
The graph as text
- Load Terrain from Bytes (function call; Target is Orrery Terrain Subsystem)
- In Target (self object): self
- In Bytes (array of Byte): not connected
- Out Return Value (EOrreryTerrainLoadResult): not connected
- 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)
- Blueprint
- Load Terrain from Bytes, in Orrery › Terrain › Save
Description
A failed load changes nothing. Refused on a read-only terrain and from inside a ground-changed broadcast.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Bytes | const TArray< | — | — |