// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "Selection/SelectionEditInteractiveCommand.h" #include "DeleteGeometrySelectionCommand.generated.h" #define UE_API MESHMODELINGTOOLS_API /** * UDeleteGeometrySelectionCommand deletes the geometric elements identified by the Selection. * Currently only supports mesh selections (Triangle and Polygroup types) * Deletes selected faces, or faces connected to selected edges, or faces connected to selected vertices. */ UCLASS(MinimalAPI) class UDeleteGeometrySelectionCommand : public UGeometrySelectionEditCommand { GENERATED_BODY() public: UE_API virtual FText GetCommandShortString() const override; UE_API virtual bool CanExecuteCommandForSelection(UGeometrySelectionEditCommandArguments* Arguments) override; UE_API virtual void ExecuteCommandForSelection(UGeometrySelectionEditCommandArguments* Arguments, UInteractiveCommandResult** Result) override; }; #undef UE_API