34 lines
987 B
C++
34 lines
987 B
C++
// Copyright 2019-Present LexLiu. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Framework/Commands/Commands.h"
|
|
|
|
class FLGUIEditorCommands : public TCommands<FLGUIEditorCommands>
|
|
{
|
|
public:
|
|
|
|
FLGUIEditorCommands();
|
|
// TCommands<> interface
|
|
virtual void RegisterCommands() override;
|
|
|
|
public:
|
|
TSharedPtr<FUICommandInfo> CopyActor;
|
|
TSharedPtr<FUICommandInfo> PasteActor;
|
|
TSharedPtr<FUICommandInfo> CutActor;
|
|
TSharedPtr<FUICommandInfo> DuplicateActor;
|
|
TSharedPtr<FUICommandInfo> DestroyActor;
|
|
TSharedPtr<FUICommandInfo> ToggleSpatiallyLoaded;
|
|
|
|
TSharedPtr<FUICommandInfo> CopyComponentValues;
|
|
TSharedPtr<FUICommandInfo> PasteComponentValues;
|
|
|
|
TSharedPtr<FUICommandInfo> FocusToScreenSpaceUI;
|
|
TSharedPtr<FUICommandInfo> FocusToSelectedUI;
|
|
|
|
TSharedPtr<FUICommandInfo> ActiveViewportAsLGUIPreview;
|
|
TSharedPtr<FUICommandInfo> ToggleLGUIInfoColume;
|
|
TSharedPtr<FUICommandInfo> ToggleDrawHelperFrame;
|
|
TSharedPtr<FUICommandInfo> ToggleAnchorTool;
|
|
TSharedPtr<FUICommandInfo> ForceGC;
|
|
}; |