FConsoleManager::RegisterConsoleVariable

Create a int console variable

Windows
MacOS
Linux

Override Hierarchy

IConsoleManager::RegisterConsoleVariable()

FConsoleManager::RegisterConsoleVariable()

References

Module

Core

Header

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

Include

#include "HAL/ConsoleManager.h"

Source

/Engine/Source/Runtime/Core/Private/HAL/ConsoleManager.cpp

Syntax

virtual IConsoleVariable * RegisterConsoleVariable
(
    const TCHAR * Name,
    int32 DefaultValue,
    const TCHAR * Help,
    uint32 Flags
)

Remarks

Create a int console variable

Parameters

Parameter

Description

Name

must not be 0

Help

must not be 0

Flags

bitmask combined from EConsoleVariableFlags

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