Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · member function

UOrreryTerrainSubsystem::

RemoveFeature

Remove a feature; later features re-daylight against the ground beneath.

Declaration

bool RemoveFeature(OrreryTerrain::Native::FFeatureId Id,
                   OrreryTerrain::Native::FGroundUndo* OutUndo = nullptr, FString* OutReason = nullptr);
Header
#include "OrreryTerrainSubsystem.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrain"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Thread
Every member function is game thread unless it says otherwise. (the rule of UOrreryTerrainSubsystem)

Description

A refusal for tiles holds them as CommitFeature's does (key: the feature's owner and Id).

Parameters

NameTypeDefaultMeaning
IdOrreryTerrain::Native::FFeatureId——
OutUndoOrreryTerrain::Native::FGroundUndo*nullptr—
OutReasonFString*nullptr—

Returns

false if refused, as CommitFeature.