You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
60 lines
1.2 KiB
C++
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__
|