Files
UnrealEngine/Engine/Source/Editor/Layers/Public/LayersDragDropOp.h
2025-05-18 13:04:45 +08:00

23 lines
573 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/Array.h"
#include "Containers/UnrealString.h"
#include "DragAndDrop/DecoratedDragDropOp.h"
#include "Input/DragAndDrop.h"
#include "UObject/NameTypes.h"
class FDragDropEvent;
/** Drag/drop operation for dragging layers in the editor */
class LAYERS_API FLayersDragDropOp : public FDecoratedDragDropOp
{
public:
DRAG_DROP_OPERATOR_TYPE(FLayersDragDropOp, FDragDropOperation)
/** The names of the layers being dragged */
TArray<FName> Layers;
virtual void Construct() override;
};