Navigation
API > API/Runtime > API/Runtime/Engine
Heuristic to automatically compute a default resolution fraction based user settings and display information.
| Name | FStaticResolutionFractionHeuristic |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/LegacyScreenPercentageDriver.h |
| Include Path | #include "LegacyScreenPercentageDriver.h" |
Syntax
struct FStaticResolutionFractionHeuristic
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| LegacyScreenPercentageDriver.h | |||
FStaticResolutionFractionHeuristic
(
const FEngineShowFlags& EngineShowFlags |
LegacyScreenPercentageDriver.h |
Structs
| Name | Remarks |
|---|---|
| FUserSettings | User configurable settings. |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DPIScale | float | [Required] DPI scale | LegacyScreenPercentageDriver.h | |
| SecondaryViewFraction | float | [Required] secondary resolution fraction. | LegacyScreenPercentageDriver.h | |
| Settings | FUserSettings | LegacyScreenPercentageDriver.h | ||
| TotalDisplayedPixelCount | int32 | [Required] total number of pixel being display into viewport. | LegacyScreenPercentageDriver.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void PullViewFamilyRenderingSettings
(
const FSceneViewFamily& ViewFamily |
Fetches rendering information from the ViewFamily. | LegacyScreenPercentageDriver.h | |
float ResolveResolutionFraction() |
LegacyScreenPercentageDriver.h |