IConsoleManager::CallAllConsoleVariableSinks

The sinks are only called if a change has been done since the last time Should be called in very few points:

Windows
MacOS
Linux

Override Hierarchy

IConsoleManager::CallAllConsoleVariableSinks()

FConsoleManager::CallAllConsoleVariableSinks()

References

Module

Core

Header

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

Include

#include "HAL/IConsoleManager.h"

Syntax

void CallAllConsoleVariableSinks()

Remarks

The sinks are only called if a change has been done since the last time Should be called in very few points:

  • after ini file loading

  • after user console input

  • user initiated a console variable change (it needs to be clear to user that a cvar can change e.g. game options menu)

  • beginning of Tick (to catch stray Set() calls, which are usually bad)

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