FComponentEditorUtils::DeleteComponents

Deletes the indicated components and identifies the component that should be selected following the operation.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Kismet2/ComponentEditorUtils.h

Include

#include "Kismet2/ComponentEditorUtils.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Kismet2/ComponentEditorUtils.cpp

Syntax

static int32 DeleteComponents
(
    const TArray< UActorComponent * > & ComponentsToDelete,
    UActorComponent *& OutComponentToSelect
)

Remarks

Deletes the indicated components and identifies the component that should be selected following the operation.

Does not take care of the actual selection of a new component. It only identifies which component should be selected.

Returns

The number of components that were actually deleted

Parameters

Parameter

Description

ComponentsToDelete

The list of components to delete

OutComponentToSelect

The component that should be selected after the deletion

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss