Orrery Terrain · OrreryTerrain module · member function
UOrreryTerrainLibrary::
UndoConstruction
BlueprintUndo or redo a construction with the token its commit returned.
Declaration
UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Edit", meta=(="WorldContextObject"))
static FOrreryTerrainCommitResult UndoConstruction(const UObject* WorldContextObject, const FOrreryTerrainUndoToken& Token);Blueprint Undo Construction
The graph as text
- Undo Construction (function call)
- In Token (OrreryTerrainUndoToken): not connected
- Out Return Value (OrreryTerrainCommitResult): not connected
- Header
#include "OrreryTerrainLibrary.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Thread
- Game thread (Blueprint). (the rule of UOrreryTerrainLibrary)
- Blueprint
- Undo Construction, in Orrery › Terrain › Edit
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
WorldContextObject | const UObject* | — | — |
Token | const FOrrery | — | — |
Returns
The result; Undo holds the inverse, so a second call redoes. bOk is false, with nothing changed, when the token is empty or stale.