Files
UnrealEngineUWP/Engine/Source/Editor/LevelEditor/Public/LightingTools.h
2014-03-14 14:13:41 -04:00

60 lines
1.2 KiB
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
/*================================================================================
LightingTools.h: Lighting Tools helper
================================================================================*/
#ifndef __LightingTools_h__
#define __LightingTools_h__
#pragma once
/**
* LightingTools settings
*/
class FLightingToolsSettings
{
public:
/** Static: Returns global lighting tools adjust settings */
static FLightingToolsSettings& Get()
{
return LightingToolsSettings;
}
static void Init();
static bool ApplyToggle();
static void Reset();
protected:
/** Static: Global lightmap resolution ratio adjust settings */
static FLightingToolsSettings LightingToolsSettings;
public:
/** Constructor */
FLightingToolsSettings() :
bShowLightingBounds(false)
, bShowShadowTraces(false)
, bShowDirectOnly(false)
, bShowIndirectOnly(false)
, bShowIndirectSamples(false)
, bSavedShowSelection(false)
{
}
bool bShowLightingBounds;
bool bShowShadowTraces;
bool bShowDirectOnly;
bool bShowIndirectOnly;
bool bShowIndirectSamples;
bool bSavedShowSelection;
};
#endif // __LightingTools_h__