Navigation
Unreal Engine C++ API Reference > Editor > EditorConfig > UEditorConfigSubsystem > LoadConfigObject
References
Module | EditorConfig |
Header | /Engine/Source/Editor/EditorConfig/Public/EditorConfigSubsystem.h |
Include | #include "EditorConfigSubsystem.h" |
Source | /Engine/Source/Editor/EditorConfig/Private/EditorConfigSubystem.cpp |
bool LoadConfigObject ( const [UClass](API\Runtime\CoreUObject\UObject\UClass) * Class, [UObject](API\Runtime\CoreUObject\UObject\UObject) * Object, [FEditorConfig::EPropertyFilter](API\Editor\EditorConfig\FEditorConfig\EPropertyFilter) )
Remarks
Load a config from the root of the JSON file into a given UObject. This loads the config from the UCLASS's EditorConfig="ConfigName" metadata.
Parameters
Name | Description |
---|---|
Class | The UClass of the object. |
Object | The UObject instance to load into. |
Filter | Whether to load all properties, or only ones marked with the EditorConfig metadata. |