Navigation
API > API/Runtime > API/Runtime/Engine
Structure for holding the state of the engine scalability groups Actual engine state you can get though GetQualityLevels().
| Name | FQualityLevels |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Scalability.h |
| Include Path | #include "Scalability.h" |
Syntax
struct FQualityLevels
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FQualityLevels
(
bool bSetDefaults |
Allows us to avoid SetDefaults for static init variables, as SetDefaults is not defined to call during static int. | Scalability.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AntiAliasingQuality | int32 | Scalability.h | ||
| CPUBenchmarkResults | float | Scalability.h | ||
| CPUBenchmarkSteps | TArray< float > | Scalability.h | ||
| EffectsQuality | int32 | Scalability.h | ||
| FoliageQuality | int32 | Scalability.h | ||
| GlobalIlluminationQuality | int32 | Scalability.h | ||
| GPUBenchmarkResults | float | Scalability.h | ||
| GPUBenchmarkSteps | TArray< float > | Scalability.h | ||
| LandscapeQuality | int32 | Scalability.h | ||
| PostProcessQuality | int32 | Scalability.h | ||
| ReflectionQuality | int32 | Scalability.h | ||
| ResolutionQuality | float | Scalability.h | ||
| ShadingQuality | int32 | Scalability.h | ||
| ShadowQuality | int32 | Scalability.h | ||
| TextureQuality | int32 | Scalability.h | ||
| ViewDistanceQuality | int32 | Scalability.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 GetHash() |
Used for DisplayInternals to quickly identify why a screenshot looks different | Scalability.h | |
int32 GetMinQualityLevel() |
Returns the minimum set quality level from all settings | Scalability.h | |
int32 GetSingleQualityLevel() |
Returns the overall value if all settings are set to the same thing | Scalability.h | |
void SetAntiAliasingQuality
(
int32 Value |
Sets anti-aliasing quality | Scalability.h | |
void SetBenchmarkFallback() |
Scalability.h | ||
void SetDefaults() |
Scalability.h | ||
void SetEffectsQuality
(
int32 Value |
Sets the visual effects quality | Scalability.h | |
void SetFoliageQuality
(
int32 Value |
Sets the foliage quality | Scalability.h | |
void SetFromSingleQualityLevel
(
int32 Value |
Sets all other settings based on an overall value | Scalability.h | |
void SetFromSingleQualityLevelRelativeToMax
(
int32 Value |
Sets all other settings based on an overall value, but relative to the maximum. | Scalability.h | |
void SetGlobalIlluminationQuality
(
int32 Value |
Sets shadow quality | Scalability.h | |
void SetLandscapeQuality
(
int32 Value |
Sets the landscape quality | Scalability.h | |
void SetPostProcessQuality
(
int32 Value |
Sets the post-processing quality | Scalability.h | |
void SetReflectionQuality
(
int32 Value |
Sets shadow quality | Scalability.h | |
void SetShadingQuality
(
int32 Value |
Sets the shading quality | Scalability.h | |
void SetShadowQuality
(
int32 Value |
Sets shadow quality | Scalability.h | |
void SetTextureQuality
(
int32 Value |
Sets the texture quality | Scalability.h | |
void SetViewDistanceQuality
(
int32 Value |
Sets view distance quality | Scalability.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FQualityLevels& Other |
Scalability.h | ||
bool operator==
(
const FQualityLevels& Other |
Scalability.h |