UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FLegacyScreenPercentageDriver Class Reference

#include <LegacyScreenPercentageDriver.h>

+ Inheritance diagram for FLegacyScreenPercentageDriver:

Public Member Functions

ENGINE_API FLegacyScreenPercentageDriver (const FSceneViewFamily &InViewFamily, float InGlobalResolutionFraction)
 
ENGINE_API FLegacyScreenPercentageDriver (const FSceneViewFamily &InViewFamily, float InGlobalResolutionFraction, float InGlobalResolutionFractionUpperBound)
 

Static Public Member Functions

static ENGINE_API float GetCVarResolutionFraction ()
 

Additional Inherited Members

- Static Public Attributes inherited from ISceneViewFamilyScreenPercentage
static constexpr float kMinResolutionFraction = 0.01f
 
static constexpr float kMaxResolutionFraction = 4.0f
 
static constexpr float kMinTSRResolutionFraction = 0.25f
 
static constexpr float kMaxTSRResolutionFraction = 2.0f
 
static constexpr float kMinTAAUpsampleResolutionFraction = 0.5f
 
static constexpr float kMaxTAAUpsampleResolutionFraction = 2.0f
 

Detailed Description

Default screen percentage interface that just apply View->FinalPostProcessSettings.ScreenPercentage.

Constructor & Destructor Documentation

◆ FLegacyScreenPercentageDriver() [1/2]

FLegacyScreenPercentageDriver::FLegacyScreenPercentageDriver ( const FSceneViewFamily InViewFamily,
float  InGlobalResolutionFraction 
)

◆ FLegacyScreenPercentageDriver() [2/2]

FLegacyScreenPercentageDriver::FLegacyScreenPercentageDriver ( const FSceneViewFamily InViewFamily,
float  InGlobalResolutionFraction,
float  InGlobalResolutionFractionUpperBound 
)

Member Function Documentation

◆ GetCVarResolutionFraction()

float FLegacyScreenPercentageDriver::GetCVarResolutionFraction ( )
static

Gets the view rect fraction from the r.ScreenPercentage cvar.


The documentation for this class was generated from the following files: