UDeviceProfile::GetConsolidatedCVarValue

Get the int32 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,
    int32 & OutValue,
    bool bCheckDefaults
) const

Remarks

Get the int32 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 int32 value of the CVar, if found

bCheckDefaults

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback