Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainEditor module · member function

UOrbdaleTerrainFeatureToolBase::

RemoveAsTransaction

Editor only

Remove a feature and append its transaction, now if the ground under it is loaded, else once it is (IsPlacing).

Declaration

bool RemoveAsTransaction(OrbdaleTerrain::Native::FFeatureId Id, const FText& Label);
Header
#include "Tools/OrbdaleTerrainFeatureTools.h"
Module
PublicDependencyModuleNames.Add("OrbdaleTerrainEditor"); 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 UOrbdaleTerrainFeatureToolBase)

Description

A second removal or commit while one waits is refused. OnFeatureRemoved runs when it lands, either way.

Parameters

NameTypeDefaultMeaning
IdOrbdaleTerrain::Native::FFeatureId——
Labelconst FText&——

Returns

true when it landed now; false when it waits (IsPlacing) or was refused (LastRefusal says why).