Navigation
API > API/Runtime > API/Runtime/Core
Autoregistering float, int variable class...this changes that value when the console variable is changed.
| Name | TAutoConsoleVariable |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/IConsoleManager.h |
| Include Path | #include "HAL/IConsoleManager.h" |
Syntax
template<class T>
class TAutoConsoleVariable : public FAutoConsoleObject
Inheritance Hierarchy
- FAutoConsoleObject → TAutoConsoleVariable
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TAutoConsoleVariable
(
IConsoleVariable* ExistingObject |
HAL/IConsoleManager.h | ||
TAutoConsoleVariable
(
const TCHAR* Name, |
Create a float, int or string console variable | HAL/IConsoleManager.h | |
TAutoConsoleVariable
(
const TCHAR* Name, |
Create a float, int or string console variable | HAL/IConsoleManager.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Ref | TConsoleVariableData< T > * | HAL/IConsoleManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T GetValueOnAnyThread
(
bool bForceGameThread |
HAL/IConsoleManager.h | ||
T GetValueOnGameThread() |
HAL/IConsoleManager.h | ||
T GetValueOnRenderThread() |
HAL/IConsoleManager.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Dereference back to a variable | HAL/IConsoleManager.h | ||
const IConsoleVariable & operator* () |
HAL/IConsoleManager.h | ||
| Dereference back to a variable | HAL/IConsoleManager.h | ||
const IConsoleVariable * operator-> () |
HAL/IConsoleManager.h |