Orbdale Terrain · OrbdaleTerrainEditor module · member function
UOrbdaleTerrainFeatureToolBase::
RemoveAsTransaction
Editor onlyRemove 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
| Name | Type | Default | Meaning |
|---|---|---|---|
Id | Orbdale | — | — |
Label | const FText& | — | — |
Returns
true when it landed now; false when it waits (IsPlacing) or was refused (LastRefusal says why).