ShowMaterialAttribute
ShowMaterialAttribute
#Overview
name: ShowMaterialAttribute
The value of this variable can be defined or overridden in .ini config files. 1
.ini config file referencing this setting variable.
It is referenced in 1
C++ source file.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseLightmass.ini:53, section: [DevOptions.StaticLightingMaterial]
- INI Section:
DevOptions.StaticLightingMaterial
- Raw value:
None
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Editor/UnrealEd/Private/Lightmass/Lightmass.cpp:2192
Scope (from outer to inner):
file
function void FLightmassExporter::WriteSceneSettings
Source code excerpt:
Scene.MaterialSettings.bUseDebugMaterial = bConfigBool;
FString ShowMaterialAttributeName;
VERIFYLIGHTMASSINI(GConfig->GetString(TEXT("DevOptions.StaticLightingMaterial"), TEXT("ShowMaterialAttribute"), ShowMaterialAttributeName, GLightmassIni));
Scene.MaterialSettings.ViewMaterialAttribute = Lightmass::VMA_None;
if (ShowMaterialAttributeName.Contains(TEXT("Emissive")) )
{
Scene.MaterialSettings.ViewMaterialAttribute = Lightmass::VMA_Emissive;
}