UDeviceProfile::GetConsolidatedCVarValue

Get the float value of a CVar that is held in this device profile, or in any parent device profile.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/DeviceProfiles/DeviceProfile.h

Include

#include "DeviceProfiles/DeviceProfile.h"

Source

/Engine/Source/Runtime/Engine/Private/DeviceProfiles/DeviceProfile.cpp

Syntax

bool GetConsolidatedCVarValue
(
    const TCHAR * CVarName,
    float & OutValue,
    bool bCheckDefaults
) const

Remarks

Get the float value of a CVar that is held in this device profile, or in any parent device profile.

Returns

true if the CVar was found in this device profile

Parameters

Parameter

Description

CVarName

The name of the CVar to find

OutString

The float value of the CVar, if found

bCheckDefaults

Whether to also check the IConsoleManager for the global default value for the CVar

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss