Files
UnrealEngineUWP/Engine/Source/Editor/ViewportInteraction/Private/ViewportInteractionModule.h
christopher waters 534d10fd06 Moving loose files in ViewportInteraction into Private and Public.
#preflight 63fcd82d1206d91a2bdb1b80

[CL 24428688 by christopher waters in ue5-main branch]
2023-02-27 14:05:49 -05:00

34 lines
801 B
C++

// Copyright 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;
};