UEditorConfigSubsystem::SaveConfigObject

Save the given [UObject](API\Runtime\CoreUObject\UObject\UObject) 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"

Syntax

template<typename TObject>
bool SaveConfigObject
(
    const TObject * Object,
    FEditorConfig::EPropertyFilter Filter
)

Remarks

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

Parameters

Parameter

Description

Object

The object to save.

Filter

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