Navigation
API > API/Editor > API/Editor/AdvancedPreviewScene
Inheritance Hierarchy
- IPreviewProfileController
- FPreviewProfileController
References
| Module | AdvancedPreviewScene |
| Header | /Engine/Source/Editor/AdvancedPreviewScene/Public/PreviewProfileController.h |
| Include | #include "PreviewProfileController.h" |
Syntax
class FPreviewProfileController : public IPreviewProfileController
Remarks
Controls the access to the preview profiles. It serves as a bridge between the AdvancedPreviewScene and the UnrealEd modules and enable UnrealEd to change or observe change to the active profile.
This class was created to decouple UnrealEd from AdvancedPreviewScene and prevent circular dependencies between the modules.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from IPreviewProfileController
| Type | Name | Description | |
|---|---|---|---|
| FString | Returns the preview profiles currently active. | ||
| TArray< FString > | GetPreviewProfiles
(
int32& OutCurrentProfileIndex |
Returns the list of available preview profiles names. | |
| FOnPreviewProfileChanged & | Invoked after the active preview profile changed. | ||
| FOnPreviewProfileListChanged & | Invoked after the list of available profiles has changed. | ||
| bool | SetActiveProfile
(
const FString& ProfileName |
Set the specified preview profiles as the active one. |