Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · member function

UOrreryTerrainFeatureToolBase::

CommitAsTransaction

Editor only

Commit Feature (Id 0 adds, else replaces in place) and append its transaction, now if its ground is loaded, else once it is (IsPlacing).

Declaration

OrreryTerrain::Native::FFeatureId CommitAsTransaction(OrreryTerrain::Native::FFeature Feature, const FText& Label);
Header
#include "Tools/OrreryTerrainFeatureTools.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 UOrreryTerrainFeatureToolBase)

Description

OnFeatureCommitted runs when it lands, either way.

Parameters

NameTypeDefaultMeaning
FeatureOrreryTerrain::Native::FFeature——
Labelconst FText&——

Returns

The feature id when it landed now; 0 when it waits (IsPlacing) or was refused (LastRefusal says why).