Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · member function

UOrreryTerrainLibrary::

UndoConstruction

Blueprint

Undo or redo a construction with the token its commit returned.

Declaration

UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Edit", meta=(WorldContext="WorldContextObject"))
static FOrreryTerrainCommitResult UndoConstruction(const UObject* WorldContextObject, const FOrreryTerrainUndoToken& Token);
Blueprint Undo Construction
The graph as text
  1. 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

NameTypeDefaultMeaning
WorldContextObjectconst UObject*——
Tokenconst FOrreryTerrainUndoToken&——

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.