Navigation
API > API/Editor > API/Editor/UnrealEd
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/IPreviewProfileController.h |
| Include | #include "IPreviewProfileController.h" |
Syntax
class IPreviewProfileController
Remarks
Sets or gets the available preview profiles. The module(s) offering a preview (like AdvancedPreviewScene) should implement this interface to enable this module (UnrealEd) to generically display or change the current preview profile.
This interface was added to prevent circular dependencies between AdvancedPreviewScene and UnrealEd modules.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FString | Returns the preview profiles currently active. | ||
| TArray< FString > | GetPreviewProfiles
(
int32& OutCurrentProfileIndex |
Returns the list of available preview profiles names. | |
| FOnPreviewProfileChanged & | |||
| FOnPreviewProfileListChanged & | |||
| bool | SetActiveProfile
(
const FString& ProfileName |
Set the specified preview profiles as the active one. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOnPreviewProfileChanged | Invoked after the active preview profile changed. | ||
| FOnPreviewProfileListChanged | Invoked after the list of available profiles has changed. |