Files
UnrealEngineUWP/Engine/Source/Editor/ViewportInteraction/ViewportInteractionModule.h
Ben Marsh 7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00

34 lines
811 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "IViewportInteractionModule.h"
class FViewportInteractionModule : public IViewportInteractionModule
{
public:
FViewportInteractionModule();
virtual ~FViewportInteractionModule();
// FModuleInterface overrides
virtual void StartupModule() override;
virtual void ShutdownModule() override;
virtual void PostLoadCallback() override;
virtual bool SupportsDynamicReloading() override
{
return true;
}
static void ToggleMode();
void EnabledViewportWorldInteractionFromCommand(const bool bEnabled);
bool EnabledViewportWorldInteractionFromCommand();
private:
/** If we started the ViewportWorldInteraction from Toggle command. */
bool bEnabledViewportWorldInteractionFromCommand;
};