Navigation
API > API/Plugins > API/Plugins/ConsoleVariablesEditorRuntime
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UConsoleVariablesAsset
References
| Module | ConsoleVariablesEditorRuntime |
| Header | /Engine/Plugins/Editor/ConsoleVariablesEditor/Source/ConsoleVariablesEditorRuntime/Public/ConsoleVariablesAsset.h |
| Include | #include "ConsoleVariablesAsset.h" |
Syntax
UCLASS&40;BlueprintType&41;
class UConsoleVariablesAsset :
public UObject,
public IMovieSceneConsoleVariableTrackInterface
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 | |
|---|---|---|---|
| void | AddOrSetConsoleObjectSavedData
(
const FConsoleVariablesEditorAssetSaveData& InData |
Set the value of a saved console variable if the name matches; add a new console variable to the list if a match is not found. | |
| void | CopyFrom
(
const UConsoleVariablesAsset* InAssetToCopy |
Copy data from input asset to this asset | |
| void | ExecuteSavedCommands
(
UObject* WorldContextObject, |
Executes all saved commands in this asset, optionally only including those with a Checked checkstate in the UI. | |
| bool | FindSavedDataByCommandString
(
const FString InCommandString, |
Outputs the FConsoleVariablesEditorAssetSaveData matching InCommand. | |
| const TArray< FConsoleVariablesEditorAssetSaveData > & | Returns the saved list of console variable information such as the variable name, the type and the value of the variable at the time the asset was saved. | ||
| FString | GetSavedCommandsAsCommaSeparatedString
(
bool bOnlyIncludeChecked |
Returns the saved list of console variables as a concatenated comma-separated string. | |
| TArray< FString > | GetSavedCommandsAsStringArray
(
bool bOnlyIncludeChecked |
Returns the saved list of console variables as an array of FString. | |
| int32 | Returns how many console variables are serialized in this asset | ||
| FString | |||
| bool | RemoveConsoleVariable
(
const FString InCommandString |
Returns true if the element was found and successfully removed. | |
| void | ReplaceSavedCommands
(
const TArray< FConsoleVariablesEditorAssetSaveData >& Replacement |
Completely replaces the saved data with new saved data | |
| void | SetVariableCollectionDescription
(
const FString& InVariableCollectionDescription |
Sets a description for this variable collection. |