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