FConsoleManager::RegisterConsoleVariable

Create a bool 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,
    bool DefaultValue,
    const TCHAR * Help,
    uint32 Flags
)

Remarks

Create a bool 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