Orrery Terrain · OrreryTerrain module · member function
UOrreryTerrainSubsystem::
ApplyUndoRequest
Take back (or put back) the author's newest stroke, ending its open stroke first: refused as Conflict when another stroke wrote its tiles since.
Declaration
OrreryTerrain::Native::EStrokeUndo ApplyUndoRequest(uint32 Author, bool bRedo);- 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
The patch goes out as a SculptPatch record.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Author | uint32 | — | — |
bRedo | bool | — | — |
Returns
Done, Nothing, Conflict or ReadFailed; Nothing without a terrain or where strokes are refused.