Orrery Terrain · OrreryTerrainEditor module · member function
UOrreryTerrainFeatureToolBase::
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(OrreryTerrain::Native::FFeatureId Id, 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
A second removal or commit while one waits is refused. OnFeatureRemoved runs when it lands, either way.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Id | Orrery | — | — |
Label | const FText& | — | — |
Returns
true when it landed now; false when it waits (IsPlacing) or was refused (LastRefusal says why).