Navigation
API > API/Editor > API/Editor/UnrealEd
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.
| Name | IPreviewProfileController |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/IPreviewProfileController.h |
| Include Path | #include "IPreviewProfileController.h" |
Syntax
class IPreviewProfileController
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IPreviewProfileController() |
IPreviewProfileController.h |
Classes
| Name | Remarks |
|---|---|
| FOnPreviewProfileChanged | Invoked after the active preview profile changed. |
| FOnPreviewProfileListChanged | Invoked after the list of available profiles has changed. |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString GetActiveProfile() |
Returns the preview profiles currently active. | IPreviewProfileController.h | |
TArray< FString > GetPreviewProfiles
(
int32& OutCurrentProfileIndex |
Returns the list of available preview profiles names. | IPreviewProfileController.h | |
bool HasAnyUserProfiles() |
Returns true if user has added one or more of their own profiles | IPreviewProfileController.h | |
FOnPreviewProfileChanged & OnPreviewProfileChanged() |
IPreviewProfileController.h | ||
FOnPreviewProfileListChanged & OnPreviewProfileListChanged() |
IPreviewProfileController.h | ||
bool SetActiveProfile
(
const FString& ProfileName |
Set the specified preview profiles as the active one. | IPreviewProfileController.h |