Navigation
API > API/Plugins > API/Plugins/ConsoleVariablesEditor > API/Plugins/ConsoleVariablesEditor/FConsoleVariablesEditorCommandIn-
Description
Sets a variable to the specified value whilst maintaining its SetBy flag. Non-variables will be executed through the console.
| Name | ExecuteCommand |
| Type | function |
| Header File | /Engine/Plugins/Editor/ConsoleVariablesEditor/Source/ConsoleVariablesEditor/Public/ConsoleVariablesEditorCommandInfo.h |
| Include Path | #include "ConsoleVariablesEditorCommandInfo.h" |
| Source | /Engine/Plugins/Editor/ConsoleVariablesEditor/Source/ConsoleVariablesEditor/Private/ConsoleVariablesEditorCommandInfo.cpp |
void ExecuteCommand
(
const FString & NewValueAsString,
const bool bShouldTransactInConcert,
const bool bSetInSession,
const bool bIsInteractiveChange
)
Parameters
| Name | Remarks |
|---|---|
| bShouldTransactInConcert | If true, send this value to multi-user. |
| bSetInSession | If true, this CommandInfo's associated variable row will display "Session" in the UI. |
| bIsInteractiveChange | If true, don't print the command or send it to multi-user/concert. |