Navigation
API > API/Developer > API/Developer/Settings > API/Developer/Settings/ISettingsModule > API/Developer/Settings/ISettingsModule/RegisterSettings
References
| Module | Settings |
| 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 TSharedRef < SWidget > & CustomWidget
)
Remarks
Adds a settings section to the specified settings container (using a custom settings widget).
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.
Parameters
| Name | 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. |
| CustomWidget | A custom settings widget. |