Orbdale Terrain · OrbdaleTerrainEditor module · member function
UOrbdaleTerrainFeatureToolBase::
CommitAsTransaction
Editor onlyCommit Feature (Id 0 adds, else replaces in place) and append its transaction, now if its ground is loaded, else once it is (IsPlacing).
Declaration
OrbdaleTerrain::Native::FFeatureId CommitAsTransaction(OrbdaleTerrain::Native::FFeature Feature, 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
OnFeatureCommitted runs when it lands, either way.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Feature | Orbdale | — | — |
Label | const FText& | — | — |
Returns
The feature id when it landed now; 0 when it waits (IsPlacing) or was refused (LastRefusal says why).