Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/IConsoleManager
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
IConsoleVariable * RegisterDelegatedConsoleVariable
(
const TCHAR* Name, |
Create a console variable that delegates get/set to external functions. | HAL/IConsoleManager.h | |
IConsoleVariable * RegisterDelegatedConsoleVariable
(
const TCHAR* Name, |
HAL/IConsoleManager.h | ||
IConsoleVariable * RegisterDelegatedConsoleVariable
(
const TCHAR* Name, |
HAL/IConsoleManager.h | ||
IConsoleVariable * RegisterDelegatedConsoleVariable
(
const TCHAR* Name, |
HAL/IConsoleManager.h |
RegisterDelegatedConsoleVariable(const TCHAR , int32, TFunction< int32()>, TFunction< void(const int32 &)>, const TCHAR , uint32)
Description
Create a console variable that delegates get/set to external functions. The Getter is called on every read; the Setter is called on every write. ECVF_RenderThreadSafe is NOT supported with delegate variables.
| Name | RegisterDelegatedConsoleVariable |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/IConsoleManager.h |
| Include Path | #include "HAL/IConsoleManager.h" |
IConsoleVariable * RegisterDelegatedConsoleVariable
(
const TCHAR * Name,
int32 DefaultValue,
TFunction < int32> Getter,
TFunction < void> Setter,
const TCHAR * Help,
uint32 Flags
)
Parameters
| Name | Remarks |
|---|---|
| Name | must not be 0, must not be empty, must not contain spaces |
| DefaultValue | initial value passed to Setter during registration |
| Getter | called to read the current value |
| Setter | called to write a new value |
| Help | must not be 0, must not be empty |
| Flags | bitmask combined from EConsoleVariableFlags |
RegisterDelegatedConsoleVariable(const TCHAR , float, TFunction< float()>, TFunction< void(const float &)>, const TCHAR , uint32)
| Name | RegisterDelegatedConsoleVariable |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/IConsoleManager.h |
| Include Path | #include "HAL/IConsoleManager.h" |
IConsoleVariable * RegisterDelegatedConsoleVariable
(
const TCHAR * Name,
float DefaultValue,
TFunction < float> Getter,
TFunction < void> Setter,
const TCHAR * Help,
uint32 Flags
)
RegisterDelegatedConsoleVariable(const TCHAR , bool, TFunction< bool()>, TFunction< void(const bool &)>, const TCHAR , uint32)
| Name | RegisterDelegatedConsoleVariable |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/IConsoleManager.h |
| Include Path | #include "HAL/IConsoleManager.h" |
IConsoleVariable * RegisterDelegatedConsoleVariable
(
const TCHAR * Name,
bool DefaultValue,
TFunction < bool> Getter,
TFunction < void> Setter,
const TCHAR * Help,
uint32 Flags
)
RegisterDelegatedConsoleVariable(const TCHAR , const FString &, TFunction< FString()>, TFunction< void(const FString &)>, const TCHAR , uint32)
| Name | RegisterDelegatedConsoleVariable |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/IConsoleManager.h |
| Include Path | #include "HAL/IConsoleManager.h" |
IConsoleVariable * RegisterDelegatedConsoleVariable
(
const TCHAR * Name,
const FString & DefaultValue,
TFunction < FString > Getter,
TFunction < void &)> Setter,
const TCHAR * Help,
uint32 Flags
)