Slate.ApplyDisabledEffectOnWidgets

Slate.ApplyDisabledEffectOnWidgets

#Overview

name: Slate.ApplyDisabledEffectOnWidgets

This variable is created as a Console Variable (cvar).

It is referenced in 2 C++ source files.

#Summary

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Source/Runtime/SlateCore/Private/Rendering/DrawElementTypes.cpp:33

Scope: file

Source code excerpt:


static FAutoConsoleVariableRef CVarApplyDisabledEffectOnWidgets(
	TEXT("Slate.ApplyDisabledEffectOnWidgets"),
	bApplyDisabledEffectOnWidgets,
	TEXT("If true, disabled game-layer widgets will have alpha multiplied by 0.45."),
	FConsoleVariableDelegate::CreateStatic(&HandleApplyDisabledEffectOnWidgetsToggled)
);

static bool IsResourceObjectValid(UObject*& InObject)

#Loc: <Workspace>/Engine/Source/Developer/SlateReflector/Private/Widgets/SSlateOptions.cpp:61

Scope (from outer to inner):

file
function     void SSlateOptions::Construct
function     static TSharedRef<SWidget> FillToolbar

Source code excerpt:

			AddMenuEntry(MenuBuilder, Icon, LOCTEXT("EnableToolTips", "Enable Tooltips"), TEXT("Slate.EnableTooltips"));
			AddMenuEntry(MenuBuilder, Icon, LOCTEXT("GlobalInvalidation", "Global Invalidation"), TEXT("Slate.EnableGlobalInvalidation"));
			AddMenuEntry(MenuBuilder, Icon, LOCTEXT("DisabledEffect", "Transparent Disabled Effect"), TEXT("Slate.ApplyDisabledEffectOnWidgets"));

			return MenuBuilder.MakeWidget();
		}
	};

	struct DebugLocal : Local