UEditorConfigSubsystem::SaveConfigObject

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

Unreal Engine C++ API Reference > Editor > EditorConfig > UEditorConfigSubsystem > SaveConfigObject

References

   
Module EditorConfig
Header /Engine/Source/Editor/EditorConfig/Public/EditorConfigSubsystem.h
Include #include "EditorConfigSubsystem.h"
Source /Engine/Source/Editor/EditorConfig/Private/EditorConfigSubystem.cpp
bool SaveConfigObject
(
    const [UClass](API\Runtime\CoreUObject\UObject\UClass) * Class,
    const [UObject](API\Runtime\CoreUObject\UObject\UObject) * Object,
    [FEditorConfig::EPropertyFilter](API\Editor\EditorConfig\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

Name 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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library