Files
UnrealEngine/Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Public/Commands/DeleteGeometrySelectionCommand.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

29 lines
961 B
C++

// 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