Navigation
API > API/Runtime > API/Runtime/Core
FScopedCVar Allows a CVar to be temporarily set to a particular value. Nested scopes still get popped off correctly since ECVF_SetByTemp is an array type.
| Name | FScopedCVar |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/ScopedCVar.h |
| Include Path | #include "Misc/ScopedCVar.h" |
Syntax
template<typename T>
class FScopedCVar
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedCVar
(
const FScopedCVar& |
Misc/ScopedCVar.h | ||
FScopedCVar
(
FString InConsoleVariableName, |
Misc/ScopedCVar.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopedCVar() |
Misc/ScopedCVar.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedTag | FName | Misc/ScopedCVar.h | ||
| CachedVariableName | FString | Misc/ScopedCVar.h |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedCVar & operator=
(
const FScopedCVar& |
Misc/ScopedCVar.h |