UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SlateCoreClasses.cpp File Reference

Variables

TAutoConsoleVariable< floatGlobalScrollAmount (TEXT("Slate.GlobalScrollAmount"), 32.0f, TEXT("How much to scroll for each click of the mouse wheel (in Slate Screen Units)."))
 
TAutoConsoleVariable< floatGlobalGamepadScrollMultiplier (TEXT("Slate.GlobalGamepadScrollMultiplier"), 1.0f, TEXT("How much to multiply scroll amount when using gamepad."))
 
float GSlateContrast = 1
 
FAutoConsoleVariableRef CVarSlateContrast (TEXT("Slate.Contrast"), GSlateContrast,)
 
int32 GSlateLayoutGeneration = 0
 
bool GSlateFastWidgetPath = false
 
FAutoConsoleVariableRef CVarSlateFastWidgetPath (TEXT("Slate.EnableFastWidgetPath"), GSlateFastWidgetPath,)
 
bool GSlateEnableGlobalInvalidation = false
 
bool GSlateIsOnFastUpdatePath = false
 
bool GSlateIsOnFastProcessInvalidation = false
 
bool GSlateIsInInvalidationSlowPath = false
 
bool GSlateUseSharedBreakIterator = false
 

Variable Documentation

◆ CVarSlateContrast

FAutoConsoleVariableRef CVarSlateContrast(TEXT("Slate.Contrast"), GSlateContrast,) ( TEXT("Slate.Contrast")  ,
GSlateContrast   
)

◆ CVarSlateFastWidgetPath

FAutoConsoleVariableRef CVarSlateFastWidgetPath(TEXT("Slate.EnableFastWidgetPath"), GSlateFastWidgetPath,) ( TEXT("Slate.EnableFastWidgetPath")  ,
GSlateFastWidgetPath   
)

◆ GlobalGamepadScrollMultiplier

TAutoConsoleVariable< float > GlobalGamepadScrollMultiplier(TEXT("Slate.GlobalGamepadScrollMultiplier"), 1.0f, TEXT("How much to multiply scroll amount when using gamepad.")) ( TEXT("Slate.GlobalGamepadScrollMultiplier")  ,
1.  0f,
TEXT("How much to multiply scroll amount when using gamepad."  
)

How much to scroll for each click of the mouse wheel (in Slate Screen Units).

◆ GlobalScrollAmount

TAutoConsoleVariable< float > GlobalScrollAmount(TEXT("Slate.GlobalScrollAmount"), 32.0f, TEXT("How much to scroll for each click of the mouse wheel (in Slate Screen Units).")) ( TEXT("Slate.GlobalScrollAmount")  ,
32.  0f,
TEXT("How much to scroll for each click of the mouse wheel (in Slate Screen Units).")   
)

How much to scroll for each click of the mouse wheel (in Slate Screen Units).

◆ GSlateContrast

float GSlateContrast = 1

◆ GSlateEnableGlobalInvalidation

bool GSlateEnableGlobalInvalidation = false

Whether or not the SWindow can be an Invalidation Panel (use the fast path update). Normal Invalidation Panel will be deactivated.

◆ GSlateFastWidgetPath

bool GSlateFastWidgetPath = false

Whether or not we've enabled fast widget pathing which validates paths to widgets without arranging children.

◆ GSlateIsInInvalidationSlowPath

bool GSlateIsInInvalidationSlowPath = false

Whether or not we are currently running building the list of widget in slow path (global invalidation).

◆ GSlateIsOnFastProcessInvalidation

bool GSlateIsOnFastProcessInvalidation = false

Whether or not we currently processing the widget invalidation from the InvalidationRoot (global invalidation).

◆ GSlateIsOnFastUpdatePath

bool GSlateIsOnFastUpdatePath = false

Whether or not we currently Painting/Updating the widget from the FastUpdate path (global invalidation).

◆ GSlateLayoutGeneration

int32 GSlateLayoutGeneration = 0

◆ GSlateUseSharedBreakIterator

bool GSlateUseSharedBreakIterator = false