Navigation
API > API/Plugins > API/Plugins/ConsoleVariablesEditor
An asset used to track collections of console variables that can be recalled and edited using the Console Variables Editor.
| Name | UConsoleVariablesEditorFunctionLibrary |
| Type | class |
| Header File | /Engine/Plugins/Editor/ConsoleVariablesEditor/Source/ConsoleVariablesEditor/Public/ConsoleVariablesEditorFunctionLibrary.h |
| Include Path | #include "ConsoleVariablesEditorFunctionLibrary.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UConsoleVariablesEditorFunctionLibrary : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UConsoleVariablesEditorFunctionLibrary
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool AddValidatedCommandToCurrentPreset
(
const FString NewCommand |
Adds a validated command to the current preset with its current value. | ConsoleVariablesEditorFunctionLibrary.h |
|
static bool CopyCurrentListToAsset
(
UConsoleVariablesAsset* InAsset |
Saves the current list in the Console Variables Editor to the given asset. | ConsoleVariablesEditorFunctionLibrary.h |
|
| Set a console variable value directly. Returns true if the console object exists. | ConsoleVariablesEditorFunctionLibrary.h |
|
|
| Get a console variable's string value directly. Returns true if the console object exists. | ConsoleVariablesEditorFunctionLibrary.h |
|
|
static UConsoleVariablesAsset * GetCurrentlyLoadedPreset() |
Return the currently loaded list of variables in the Console Variables Editor. | ConsoleVariablesEditorFunctionLibrary.h |
|
static bool GetEnableMultiUserCVarSync() |
Return whether the Multi-user sync setting for the current instance of the editor is enabled. | ConsoleVariablesEditorFunctionLibrary.h |
|
| Return an array of strings containing the command names for each command found in the given preset. | ConsoleVariablesEditorFunctionLibrary.h |
|
|
static void LoadPresetIntoConsoleVariablesEditor
(
const UConsoleVariablesAsset* InAsset, |
Loads the given asset in the Console Variables Editor and sets all its variable values. | ConsoleVariablesEditorFunctionLibrary.h |
|
static bool RemoveCommandFromCurrentPreset
(
const FString NewCommand |
Removes a command from the current preset if it exists in the saved data. | ConsoleVariablesEditorFunctionLibrary.h |
|
static bool SetConsoleVariableByName_Bool
(
const FString InCommandName, |
Set a console variable value directly. Returns true if the console object exists. | ConsoleVariablesEditorFunctionLibrary.h |
|
static bool SetConsoleVariableByName_Float
(
const FString InCommandName, |
Set a console variable value directly. Returns true if the console object exists. | ConsoleVariablesEditorFunctionLibrary.h |
|
static bool SetConsoleVariableByName_Int
(
const FString InCommandName, |
Set a console variable value directly. Returns true if the console object exists. | ConsoleVariablesEditorFunctionLibrary.h |
|
| Set a console variable value directly. Returns true if the console object exists. | ConsoleVariablesEditorFunctionLibrary.h |
|
|
static void SetEnableMultiUserCVarSync
(
bool bNewSetting |
Enable or disable the Multi-user sync setting for the current instance of the editor. | ConsoleVariablesEditorFunctionLibrary.h |
|