Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/DeviceProfiles > API/Runtime/Engine/DeviceProfiles/UDeviceProfile > API/Runtime/Engine/DeviceProfiles/UDeviceProfile/GetConsolidatedCVarValue
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 |
bool GetConsolidatedCVarValue
&40;
const TCHAR &42; CVarName,
int32 & OutValue,
bool bCheckDefaults
&41; const
Remarks
Get the int32 value of a CVar that is held in this device profile, or in any parent device profile. true if the CVar was found in this device profile
Parameters
| Name | 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 |