TAutoConsoleVariable

Inheritance Hierarchy

FAutoConsoleObject

TAutoConsoleVariable

Syntax

template<class T>
class TAutoConsoleVariable : public FAutoConsoleObject

Remarks

Autoregistering float, int variable class...this changes that value when the console variable is changed.

Constructors

Name Description

Public function

TAutoConsoleVariable

(
    const TCHAR * Name,
    const T& DefaultValue,
    const TCHAR * Help,
    uint32 Flags
)

Create a float, int or string console variable

Public function

TAutoConsoleVariable

(
    const TCHAR * Name,
    const float& DefaultValue,
    const TCHAR * Help,
    uint32 Flags
)

Functions

Name Description

Public function Const

T

 

GetValueOnAnyThread

(
    bool bForceGameThread
)

Public function Const

T

 

GetValueOnGameThread()

Public function Const

T

 

GetValueOnRenderThread()

Operators

Name Description

Public function

IConsoleVari ...

 

operator*()

Dereference back to a variable

Public function Const

const IConso ...

 

operator*()

Public function

IConsoleVari ...

 

operator->()

Dereference back to a variable

Public function Const

const IConso ...

 

operator->()

References

Module

Core

Header

Runtime/Core/Public/HAL/IConsoleManager.h