// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "Framework/Commands/Commands.h" #include "Internationalization/Internationalization.h" #include "Styling/AppStyle.h" #include "Styling/ISlateStyle.h" #include "Templates/SharedPointer.h" #include "UObject/NameTypes.h" #include "UObject/UnrealNames.h" class FUICommandInfo; class ADVANCEDPREVIEWSCENE_API FAdvancedPreviewSceneCommands : public TCommands { public: FAdvancedPreviewSceneCommands() : TCommands ( "AdvancedPreviewScene", NSLOCTEXT("Contexts", "AdvancedPreviewScene", "Advanced Preview Scene"), NAME_None, FAppStyle::Get().GetStyleSetName() ) {} /** Toggles environment (sky sphere) visibility */ TSharedPtr< FUICommandInfo > ToggleEnvironment; /** Toggles floor visibility */ TSharedPtr< FUICommandInfo > ToggleFloor; /** Toggles the grid */ TSharedPtr< FUICommandInfo > ToggleGrid; /** Toggles post processing */ TSharedPtr< FUICommandInfo > TogglePostProcessing; /** * Initialize commands */ virtual void RegisterCommands() override; };