Orbdale Terrain · OrbdaleTerrainEditor module · member function
UOrbdaleTerrainEditorFollowSubsystem::
FinishEdit
Editor onlyFollow an edit that has written the ground, and wrap its change with the follow's record.
Declaration
static TUniquePtr<FToolCommandChange> FinishEdit(UOrbdaleTerrainSubsystem& Terrain, FOrbdaleTerrainFollowEdit& Edit, TUniquePtr<FOrbdaleTerrainGroundCommand> Change);- Header
#include "Follow/OrbdaleTerrainEditorFollow.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 worlds only. (the rule of UOrbdaleTerrainEditorFollowSubsystem)
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Terrain | UOrbdale | — | The terrain the edit wrote. |
Edit | FOrbdale | — | What BeginEdit returned; reset on return. |
Change | TUnique | — | The edit's undo record; null when the edit changed nothing. |
Returns
Change itself when nothing followed (or Edit is closed), else the change that undoes and redoes both.