Navigation
API > API/Runtime > API/Runtime/Core
Auto registering console variable sinks (register a callback function that is called when ever a cvar is changes by the user, changes are grouped and happen in specific engine spots during the frame/main loop)
| Name | FAutoConsoleVariableSink |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/IConsoleManager.h |
| Include Path | #include "HAL/IConsoleManager.h" |
Syntax
class FAutoConsoleVariableSink
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAutoConsoleVariableSink
(
const FConsoleCommandDelegate& InCommand |
Constructor, saves the argument for future removal from the console variable system | HAL/IConsoleManager.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FAutoConsoleVariableSink() |
Destructor, removes the console variable sink | HAL/IConsoleManager.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Command | const FConsoleCommandDelegate & | HAL/IConsoleManager.h | ||
| Handle | FConsoleVariableSinkHandle | HAL/IConsoleManager.h |