UEditorConfigSubsystem::SaveConfigObject

Save the given [UObject](API\Runtime\CoreUObject\UObject\UObject) of the given class to the root of the JSON config.

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 SaveConfigObject
(
    const UClass * Class,
    const UObject * Object,
    FEditorConfig::EPropertyFilter
)

Remarks

Save the given UObject of the given class to the root of the JSON config. This saves the config to the UCLASS's EditorConfig="ConfigName" metadata.

Parameters

Parameter

Description

Class

The UClass of the object.

Object

The UObject instance to save.

Filter

Whether to save all properties, or only ones marked with the EditorConfig metadata.