Navigation
API > API/Editor > API/Editor/PIEPreviewDeviceProfileSelector
Inheritance Hierarchy
- IModuleInterface
- IDeviceProfileSelectorModule
- IPIEPreviewDeviceModule
- FPIEPreviewDeviceModule
References
| Module | PIEPreviewDeviceProfileSelector |
| Header | /Engine/Source/Editor/PIEPreviewDeviceProfileSelector/Public/PIEPreviewDeviceProfileSelectorModule.h |
| Include | #include "PIEPreviewDeviceProfileSelectorModule.h" |
Syntax
class FPIEPreviewDeviceModule : public IPIEPreviewDeviceModule
Remarks
Implements the Preview Device Profile Selector module.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FAddToDevicePreviewMenu | AddToDevicePreviewMenuDelegates |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FPIEPreviewDeviceContainer & | |||
| TSharedPtr< FPIEPreviewDeviceContainerCategory > | |||
| bool |
Overridden from IPIEPreviewDeviceModule
| Type | Name | Description | |
|---|---|---|---|
| void | Apply PieWindow device parameters | ||
| TSharedRef< SWindow > | CreatePIEPreviewDeviceWindow
(
FVector2D ClientSize, |
Create PieWindow Ref | |
| FName | Used to set the scalability preview platform | ||
| void | OnWindowReady
(
TSharedRef< SWindow > Window |
Call this after the window is created and registered to the application to setup display related parameters | |
| void | SetGameLayerManagerWidget
(
TSharedPtr< class SGameLayerManager > GameLayerManager |
We need the game layer manager to control the DPI scaling behavior and this function can be called should be called when the manager is available | |
| void | SetPreviewDevice
(
const FString& DeviceName |
Overridden from IDeviceProfileSelectorModule
| Type | Name | Description | |
|---|---|---|---|
| const FString | Run the logic to choose an appropriate device profile for this session | ||
| bool | GetSelectorPropertyValue
(
const FName& PropertyType, |
Find a custom profile selector property value. |
Overridden from IModuleInterface
| Type | Name | Description | |
|---|---|---|---|
| void | Called before the module is unloaded, right before the module object is destroyed. | ||
| void | Called right after the module DLL has been loaded and the module object has been created Load dependent modules here, and they will be guaranteed to be available during ShutdownModule. |
Typedefs
| Name | Description |
|---|---|
| FAddToDevicePreviewMenu |