Choose your operating system:
Windows
macOS
Linux
| IConsoleObject
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/HAL/IConsoleManager.h |
Include |
#include "HAL/IConsoleManager.h" |
class IConsoleVariable : public IConsoleObject
Interface for console variables
Name | Description | ||
---|---|---|---|
|
GetBool() |
Get the internal value as a bool, works on bools, ints and floats. |
|
|
IConsoleVari... |
GetDefaultValueVariable() |
Get the saved off default value, in a cvar variable, if one was created |
|
float |
GetFloat() |
Get the internal value as float (works on all types). |
|
GetInt() |
Get the internal value as int (should not be used on strings). |
|
|
GetString() |
Get the internal value as string (works on all types). |
|
|
GetValue ( |
||
|
GetValue ( |
||
|
GetValue ( |
||
|
GetValue ( |
Generic versions for templated code |
|
|
FConsoleVari... |
OnChangedDelegate() |
|
|
Set ( |
Set the internal value from the specified string. |
|
|
Set ( |
Set the internal value from the specified bool. |
|
|
Set ( |
Set the internal value from the specified int. |
|
|
Set ( |
Set the internal value from the specified float. |
|
|
SetOnChangedCallback ( |
Allows to specify a callback function that is called when the console variable value changes. |
|
|
SetWithCurrentPriority ( |
||
|
SetWithCurrentPriority ( |
||
|
SetWithCurrentPriority ( |
||
|
SetWithCurrentPriority ( |