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]

Location: <Workspace>/Projects/Lyra/Config/DefaultEngine.ini:240, section: [/Script/Engine.UserInterfaceSettings]

#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