UIScaleCurve
UIScaleCurve
#Overview
name: UIScaleCurve
The value of this variable can be defined or overridden in .ini config files. 2
.ini config files referencing this setting variable.
It is referenced in 2
C++ source files.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseEngine.ini:1288, section: [/Script/Engine.UserInterfaceSettings]
- INI Section:
/Script/Engine.UserInterfaceSettings
- Raw value:
(EditorCurveData=(Keys=((Time=480,Value=0.444),(Time=720,Value=0.666),(Time=1080,Value=1.0),(Time=8640,Value=8.0))),ExternalCurve=None)
- Is Array:
False
Location: <Workspace>/Projects/Lyra/Config/DefaultEngine.ini:240, section: [/Script/Engine.UserInterfaceSettings]
- INI Section:
/Script/Engine.UserInterfaceSettings
- Raw value:
(EditorCurveData=(Keys=((Time=480.000000,Value=0.444000),(Time=720.000000,Value=0.666000),(Time=1080.000000,Value=1.000000),(Time=8640.000000,Value=8.000000)),DefaultValue=340282346638528859811704183484516925440.000000,PreInfinityExtrap=RCCE_Constant,PostInfinityExtrap=RCCE_Constant),ExternalCurve=None)
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Classes/Engine/UserInterfaceSettings.h:186
Scope (from outer to inner):
file
class class UUserInterfaceSettings : public UDeveloperSettings
Source code excerpt:
XAxisName="Resolution",
YAxisName="Scale"))
FRuntimeFloatCurve UIScaleCurve;
/**
* If true, game window on desktop platforms will be created with high-DPI awareness enabled.
* Recommended to be enabled only if the game's UI allows users to modify 3D resolution scaling.
*/
UPROPERTY(config, EditAnywhere, Category="DPI Scaling", meta=( DisplayName="Allow High DPI in Game Mode" ))
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/UserInterfaceSettings.cpp:154
Scope (from outer to inner):
file
function float UUserInterfaceSettings::CalculateScale
Source code excerpt:
}
const FRichCurve* DPICurve = UIScaleCurve.GetRichCurveConst();
return DPICurve->Eval((float)EvalPoint, 1.0f);
}
}
#if WITH_EDITOR
FText UUserInterfaceSettings::GetFontDPIDisplayString() const