Orrery Terrain · OrreryTerrainCore module · member function
Native::FSculptReplayer::
ApplyPatch
ExperimentalSet the tiles of an undo or redo patch exactly (FTerrainWorld::ApplySculptPatch, or ApplySculptPatchBeside while strokes are open: the authority ended the patch's own stroke before it, so those are other authors').
Declaration
bool ApplyPatch(const FSculptPatch& Patch);- Header
#include "Native/SculptReplay.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrainCore");in your module’s Build.cs.- Stability
- Experimental: supported, may change in a minor version, with a changelog line.
- Thread
- Game thread only, like every FTerrainWorld write. (the rule of FSculptReplayer)
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Patch | const FSculpt | — | — |
Returns
false, with nothing changed, when malformed or of another grid; counted as dropped.