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

Namespaces

namespace  SlateDefs
 

Functions

 DECLARE_CYCLE_STAT (TEXT("QueryCursor"), STAT_SlateQueryCursor, STATGROUP_Slate)
 
 DECLARE_CYCLE_STAT (TEXT("Update Tooltip Time"), STAT_SlateUpdateTooltip, STATGROUP_Slate)
 

Variables

FAutoConsoleVariableRef CVarEnableSyntheticCursorMoves (TEXT("Slate.EnableSyntheticCursorMoves"), bEnableSyntheticCursorMoves,)
 
FAutoConsoleVariableRef CVarEnableCursorQueries (TEXT("Slate.EnableCursorQueries"), bEnableCursorQueries, TEXT(""))
 
FAutoConsoleVariableRef CVarSoftwareCursorScale (TEXT("Slate.SoftwareCursorScale"), SoftwareCursorScale, TEXT("Scale factor applied to the software cursor. Requires the cursor widget to be scale-aware."))
 
FAutoConsoleVariableRef CVarTooltipSummonDelay (TEXT("Slate.TooltipSummonDelay"), TooltipSummonDelay, TEXT("Delay in seconds before a tooltip is displayed near the mouse cursor when hovering over widgets that supply tooltip data."))
 
FAutoConsoleVariableRef CVarTooltipIntroDuration (TEXT("Slate.TooltipIntroDuration"), TooltipIntroDuration, TEXT("How long it takes for a tooltip to animate into view, in seconds."))
 
FAutoConsoleVariableRef CVarCursorSignificantMoveDetectionThreshold (TEXT("Slate.CursorSignificantMoveDetectionThreshold"), CursorSignificantMoveDetectionThreshold, TEXT("The distance from previous cursor position above which the move will be considered significant (used to trigger the display of the tooltips)."))
 
FAutoConsoleVariableRef CVarAllowTooltipsWithHiddenCursor (TEXT("Slate.AllowTooltipsWithHiddenCursor"), bAllowTooltipsWithHiddenCursor, TEXT(""))
 
FAutoConsoleVariableRef CVarAllowTooltipsWhileMouseDown (TEXT("Slate.AllowTooltipsWhileMouseDown"), bAllowTooltipsWhileMouseDown, TEXT(""))
 

Function Documentation

◆ DECLARE_CYCLE_STAT() [1/2]

DECLARE_CYCLE_STAT ( TEXT("QueryCursor")  ,
STAT_SlateQueryCursor  ,
STATGROUP_Slate   
)

◆ DECLARE_CYCLE_STAT() [2/2]

DECLARE_CYCLE_STAT ( TEXT("Update Tooltip Time" ,
STAT_SlateUpdateTooltip  ,
STATGROUP_Slate   
)

Variable Documentation

◆ CVarAllowTooltipsWhileMouseDown

FAutoConsoleVariableRef CVarAllowTooltipsWhileMouseDown(TEXT("Slate.AllowTooltipsWhileMouseDown"), bAllowTooltipsWhileMouseDown, TEXT("")) ( TEXT("Slate.AllowTooltipsWhileMouseDown")  ,
bAllowTooltipsWhileMouseDown  ,
TEXT("")   
)

◆ CVarAllowTooltipsWithHiddenCursor

FAutoConsoleVariableRef CVarAllowTooltipsWithHiddenCursor(TEXT("Slate.AllowTooltipsWithHiddenCursor"), bAllowTooltipsWithHiddenCursor, TEXT("")) ( TEXT("Slate.AllowTooltipsWithHiddenCursor")  ,
bAllowTooltipsWithHiddenCursor  ,
TEXT("")   
)

◆ CVarCursorSignificantMoveDetectionThreshold

FAutoConsoleVariableRef CVarCursorSignificantMoveDetectionThreshold(TEXT("Slate.CursorSignificantMoveDetectionThreshold"), CursorSignificantMoveDetectionThreshold, TEXT("The distance from previous cursor position above which the move will be considered significant (used to trigger the display of the tooltips).")) ( TEXT("Slate.CursorSignificantMoveDetectionThreshold")  ,
CursorSignificantMoveDetectionThreshold  ,
TEXT("The distance from previous cursor position above which the move will be considered significant (used to trigger the display of the tooltips).")   
)

◆ CVarEnableCursorQueries

FAutoConsoleVariableRef CVarEnableCursorQueries(TEXT("Slate.EnableCursorQueries"), bEnableCursorQueries, TEXT("")) ( TEXT("Slate.EnableCursorQueries")  ,
bEnableCursorQueries  ,
TEXT("")   
)

◆ CVarEnableSyntheticCursorMoves

FAutoConsoleVariableRef CVarEnableSyntheticCursorMoves(TEXT("Slate.EnableSyntheticCursorMoves"), bEnableSyntheticCursorMoves,) ( TEXT("Slate.EnableSyntheticCursorMoves")  ,
bEnableSyntheticCursorMoves   
)

◆ CVarSoftwareCursorScale

FAutoConsoleVariableRef CVarSoftwareCursorScale(TEXT("Slate.SoftwareCursorScale"), SoftwareCursorScale, TEXT("Scale factor applied to the software cursor. Requires the cursor widget to be scale-aware.")) ( TEXT("Slate.SoftwareCursorScale")  ,
SoftwareCursorScale  ,
TEXT("Scale factor applied to the software cursor. Requires the cursor widget to be scale-aware."  
)

◆ CVarTooltipIntroDuration

FAutoConsoleVariableRef CVarTooltipIntroDuration(TEXT("Slate.TooltipIntroDuration"), TooltipIntroDuration, TEXT("How long it takes for a tooltip to animate into view, in seconds.")) ( TEXT("Slate.TooltipIntroDuration")  ,
TooltipIntroDuration  ,
TEXT("How long it takes for a tooltip to animate into view, in seconds."  
)

◆ CVarTooltipSummonDelay

FAutoConsoleVariableRef CVarTooltipSummonDelay(TEXT("Slate.TooltipSummonDelay"), TooltipSummonDelay, TEXT("Delay in seconds before a tooltip is displayed near the mouse cursor when hovering over widgets that supply tooltip data.")) ( TEXT("Slate.TooltipSummonDelay")  ,
TooltipSummonDelay  ,
TEXT("Delay in seconds before a tooltip is displayed near the mouse cursor when hovering over widgets that supply tooltip data."  
)