Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainCore module · member function

Native::FSculptReplayer::

ApplyPatch

Experimental

Set 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

NameTypeDefaultMeaning
Patchconst FSculptPatch&——

Returns

false, with nothing changed, when malformed or of another grid; counted as dropped.