Navigation
Unreal Engine C++ API Reference > Developer > Settings > ISettingsModule > RegisterSettings
References
Module | Settings |
Header | /Engine/Source/Developer/Settings/Public/ISettingsModule.h |
Include | #include "ISettingsModule.h" |
[TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [ISettingsSection](API\Developer\Settings\ISettingsSection) > RegisterSettings ( const [FName](API\Runtime\Core\UObject\FName) & ContainerName, const [FName](API\Runtime\Core\UObject\FName) & CategoryName, const [FName](API\Runtime\Core\UObject\FName) & SectionName, const [FText](API\Runtime\Core\Internationalization\FText) & DisplayName, const [FText](API\Runtime\Core\Internationalization\FText) & Description, const [TWeakObjectPtr](API\Runtime\Core\UObject\TWeakObjectPtr)< [UObject](API\Runtime\CoreUObject\UObject\UObject) > & SettingsObject )
Remarks
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.
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. |
SettingsObject | The object that holds the section's settings. |