Navigation
API > API/Runtime > API/Runtime/Engine
Default screen percentage interface that just apply View->FinalPostProcessSettings.ScreenPercentage.
| Name | FLegacyScreenPercentageDriver |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/LegacyScreenPercentageDriver.h |
| Include Path | #include "LegacyScreenPercentageDriver.h" |
Syntax
class FLegacyScreenPercentageDriver : public ISceneViewFamilyScreenPercentage
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLegacyScreenPercentageDriver
(
const FSceneViewFamily& InViewFamily, |
LegacyScreenPercentageDriver.h | ||
FLegacyScreenPercentageDriver
(
const FSceneViewFamily& InViewFamily, |
LegacyScreenPercentageDriver.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GlobalResolutionFraction | const float | ViewRect fraction to apply to all view of the view family. | LegacyScreenPercentageDriver.h | |
| GlobalResolutionFractionUpperBound | const float | ViewRect fraction to apply to all view of the view family. | LegacyScreenPercentageDriver.h | |
| ViewFamily | const FSceneViewFamily & | View family to take care of. | LegacyScreenPercentageDriver.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static float GetCVarResolutionFraction() |
Gets the view rect fraction from the r.ScreenPercentage cvar. | LegacyScreenPercentageDriver.h |