You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
36 lines
854 B
C++
36 lines
854 B
C++
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Framework/Commands/Commands.h"
|
|
#include "EditorStyleSet.h"
|
|
|
|
class FAdvancedPreviewSceneCommands : public TCommands<FAdvancedPreviewSceneCommands>
|
|
{
|
|
|
|
public:
|
|
FAdvancedPreviewSceneCommands() : TCommands<FAdvancedPreviewSceneCommands>
|
|
(
|
|
"AdvancedPreviewScene",
|
|
NSLOCTEXT("Contexts", "AdvancedPreviewScene", "Advanced Preview Scene"),
|
|
NAME_None,
|
|
FEditorStyle::Get().GetStyleSetName()
|
|
)
|
|
{}
|
|
|
|
/** Toggles environment (sky sphere) visibility */
|
|
TSharedPtr< FUICommandInfo > ToggleEnvironment;
|
|
|
|
/** Toggles floor visibility */
|
|
TSharedPtr< FUICommandInfo > ToggleFloor;
|
|
|
|
/** Toggles post processing */
|
|
TSharedPtr< FUICommandInfo > TogglePostProcessing;
|
|
|
|
/**
|
|
* Initialize commands
|
|
*/
|
|
virtual void RegisterCommands() override;
|
|
};
|