UEditorConfigSubsystem::LoadConfigObject

Load a config from the root of the JSON file into a given [UObject](API\Runtime\CoreUObject\UObject\UObject).

Choose your operating system:

Windows

macOS

Linux

References

Module

EditorConfig

Header

/Engine/Source/Editor/EditorConfig/Public/EditorConfigSubsystem.h

Include

#include "EditorConfigSubsystem.h"

Source

/Engine/Source/Editor/EditorConfig/Private/EditorConfigSubystem.cpp

Syntax

bool LoadConfigObject
(
    const UClass * Class,
    UObject * Object,
    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

Parameter

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.