Module |
|
Header |
/Engine/Source/Developer/Settings/Public/ISettingsModule.h |
Include |
#include "ISettingsModule.h" |
TSharedPtr< ISettingsSection > RegisterSettings
(
const FName & ContainerName,
const FName & CategoryName,
const FName & SectionName,
const FText & DisplayName,
const FText & Description,
const TWeakObjectPtr< UObject > & SettingsObject
)
Adds a settings section to the specified settings container (using a settings object).
If a section with the specified settings objects already exists, the existing section will be replaced.
The added settings section, or nullptr if the category does not exist.
Parameter |
Description |
---|---|
ContainerName |
The name of the container that will contain the settings. |
CategoryName |
The name of the category within the container. |
SectionName |
The name of the section within the category. |
DisplayName |
The section's localized display name. |
Description |
The section's localized description text. |
SettingsObject |
The object that holds the section's settings. |