2020-09-02 15:43:58 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
2020-09-02 17:44:16 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
2020-09-02 15:43:58 -04:00
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
#include "Framework/Commands/Commands.h"
|
|
|
|
|
|
|
|
|
|
class FSampleToolsEditorModeCommands : public TCommands<FSampleToolsEditorModeCommands>
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
FSampleToolsEditorModeCommands();
|
|
|
|
|
|
|
|
|
|
virtual void RegisterCommands() override;
|
|
|
|
|
static TMap<FName, TArray<TSharedPtr<FUICommandInfo>>> GetCommands();
|
|
|
|
|
|
|
|
|
|
TSharedPtr<FUICommandInfo> CreateActorTool;
|
|
|
|
|
TSharedPtr<FUICommandInfo> DrawCurveOnMeshTool;
|
|
|
|
|
TSharedPtr<FUICommandInfo> MeasureDistanceTool;
|
|
|
|
|
TSharedPtr<FUICommandInfo> SurfacePointTool;
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
TMap<FName, TArray<TSharedPtr<FUICommandInfo>>> Commands;
|
|
|
|
|
};
|