Navigation
API > API/Developer > API/Developer/SettingsEditor
Interface for settings editor view models.
The settings editor view model stores the view state for the Settings Editor UI. Instances of this interface can be passed to Settings Editors in order to provide access to the settings container being added and to perform various user actions, such as setting the currently selected settings section.
| Name | ISettingsEditorModel |
| Type | class |
| Header File | /Engine/Source/Developer/SettingsEditor/Public/ISettingsEditorModel.h |
| Include Path | #include "ISettingsEditorModel.h" |
Syntax
class ISettingsEditorModel
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ISettingsEditorModel() |
Virtual destructor. | ISettingsEditorModel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< ISettingsSection > GetSectionFromSectionObject
(
const UObject* SectionObject |
Gets the section interface for a specified section object | ISettingsEditorModel.h | |
const TSharedPtr< ISettingsSection > & GetSelectedSection() |
Gets the selected settings section. | ISettingsEditorModel.h | |
const TSharedRef< ISettingsContainer > & GetSettingsContainer() |
Gets the settings container. | ISettingsEditorModel.h | |
FSimpleMulticastDelegate & OnSelectionChanged() |
Returns a delegate that is executed when the selected settings section has changed. | ISettingsEditorModel.h | |
void SelectSection
(
const TSharedPtr< ISettingsSection >& Section |
Selects the specified settings section to be displayed in the editor. | ISettingsEditorModel.h |