Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · member function

FOrreryTerrainBrushStroke::

Close

Editor only

Close now (a tool switch, Ctrl+Z, the terrain going away), giving up waiting dabs with a warning.

Declaration

TUniquePtr<FToolCommandChange> Close();
Header
#include "Tools/OrreryTerrainBrushStroke.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainEditor"); in an editor module’s Build.cs: an editor module, not in packaged games.
Stability
Stable: changes within a major version only add.
Thread
Game thread, editor only. (the rule of FOrreryTerrainBrushStroke)

Returns

The stroke's undo record, or that of a stroke that closed and was not taken yet; null when nothing changed.