IPreviewProfileController

Sets or gets the available preview profiles.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

IPreviewProfileController

FPreviewProfileController

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.

@note This interface was added to prevent circular dependencies between AdvancedPreviewScene and UnrealEd modules.

Destructors

Name Description

Public function Virtual

~IPreviewProfileController()

Functions

Name Description

Public function Const

FString

 

GetActiveProfile()

Returns the preview profiles currently active.

Public function Const

TArray< FStr...

 

GetPreviewProfiles

(
    int32& OutCurrentProfileIndex
)

Returns the list of available preview profiles names.

Public function

FOnPreviewPr...

 

OnPreviewProfileChanged()

Public function

FOnPreviewPr...

 

OnPreviewProfileListChanged()

Public function

bool

 

SetActiveProfile

(
    const FString& ProfileName
)

Set the specified preview profiles as the active one.

Classes

Name

Description

Public class

FOnPreviewProfileChanged

Invoked after the active preview profile changed.

Public class

FOnPreviewProfileListChanged

Invoked after the list of available profiles has changed.