FAutoConsoleVariableRef::FAutoConsoleVariableRef

Create a reference to a int console variable

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/IConsoleManager.h

Include

#include "HAL/IConsoleManager.h"

Syntax

FAutoConsoleVariableRef
(
    const TCHAR * Name,
    int32 & RefValue,
    const TCHAR * Help,
    const FConsoleVariableDelegate & Callback,
    uint32 Flags
)

Remarks

Create a reference to a int console variable

Parameters

Parameter

Description

Name

must not be 0

Help

must not be 0

Callback

Delegate called when the variable changes.

Flags

bitmask combined from EConsoleVariableFlags

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss