Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainEditor module · member function

UOrbdaleTerrainEditorFollowSubsystem::

FinishEdit

Editor only

Follow 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

NameTypeDefaultMeaning
TerrainUOrbdaleTerrainSubsystem&—

The terrain the edit wrote.

EditFOrbdaleTerrainFollowEdit&—

What BeginEdit returned; reset on return.

ChangeTUniquePtr<FOrbdaleTerrainGroundCommand>—

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.