Navigation
API > API/Editor > API/Editor/PIEPreviewDeviceProfileSelector
Implements the Preview Device Profile Selector module.
| Name | FPIEPreviewDeviceModule |
| Type | class |
| Header File | /Engine/Source/Editor/PIEPreviewDeviceProfileSelector/Public/PIEPreviewDeviceProfileSelectorModule.h |
| Include Path | #include "PIEPreviewDeviceProfileSelectorModule.h" |
Syntax
class FPIEPreviewDeviceModule : public IPIEPreviewDeviceModule
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPIEPreviewDeviceModule() |
PIEPreviewDeviceProfileSelectorModule.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPIEPreviewDeviceModule() |
Virtual destructor. | PIEPreviewDeviceProfileSelectorModule.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FAddToDevicePreviewMenu | TMulticastDelegate_TwoParams< void, const FText &DeviceCategoryName, class FMenuBuilder &MenuBuilder > | PIEPreviewDeviceProfileSelectorModule.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AddToDevicePreviewMenuDelegates | FAddToDevicePreviewMenu | PIEPreviewDeviceProfileSelectorModule.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInitialized | bool | PIEPreviewDeviceProfileSelectorModule.h | ||
| Device | TSharedPtr< class FPIEPreviewDevice > | PIEPreviewDeviceProfileSelectorModule.h | ||
| DeviceProfile | FString | PIEPreviewDeviceProfileSelectorModule.h | ||
| EngineInitCompleteDelegate | FDelegateHandle | Delegate handle that will be obtained from FCoreDelegates::OnFEngineLoopInitComplete | PIEPreviewDeviceProfileSelectorModule.h | |
| EnumeratedDevices | FPIEPreviewDeviceContainer | PIEPreviewDeviceProfileSelectorModule.h | ||
| GameLayerManagerWidget | TSharedPtr< class SGameLayerManager > | PIEPreviewDeviceProfileSelectorModule.h | ||
| InitialWindowPosition | FVector2D | PIEPreviewDeviceProfileSelectorModule.h | ||
| InitialWindowScaleValue | float | PIEPreviewDeviceProfileSelectorModule.h | ||
| JsonRootObject | TSharedPtr< FJsonObject > | PIEPreviewDeviceProfileSelectorModule.h | ||
| PreviewDevice | FString | PIEPreviewDeviceProfileSelectorModule.h | ||
| ViewportCreatedDelegate | FDelegateHandle | Delegate handle that will be obtained from UGameViewportClient::OnViewportCreated | PIEPreviewDeviceProfileSelectorModule.h | |
| WindowWPtr | TWeakPtr< class SPIEPreviewWindow > | PIEPreviewDeviceProfileSelectorModule.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyPreviewDeviceState() |
PIEPreviewDeviceProfileSelectorModule.h | ||
virtual TSharedRef< SWindow > CreatePIEPreviewDeviceWindow
(
FVector2D ClientSize, |
PIEPreviewDeviceProfileSelectorModule.h | ||
virtual const FPIEPreviewDeviceContainer & GetPreviewDeviceContainer() |
PIEPreviewDeviceProfileSelectorModule.h | ||
TSharedPtr< FPIEPreviewDeviceContainerCategory > GetPreviewDeviceRootCategory() |
PIEPreviewDeviceProfileSelectorModule.h | ||
virtual FName GetPreviewPlatformName() |
PIEPreviewDeviceProfileSelectorModule.h | ||
virtual const FString GetRuntimeDeviceProfileName() |
PIEPreviewDeviceProfileSelectorModule.h | ||
| PIEPreviewDeviceProfileSelectorModule.h | |||
virtual void OnWindowReady
(
TSharedRef< SWindow > Window |
Call this after the window is created and registered to the application to setup display related parameters | PIEPreviewDeviceProfileSelectorModule.h | |
virtual 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 | PIEPreviewDeviceProfileSelectorModule.h | |
virtual void SetPreviewDevice
(
const FString& DeviceName |
PIEPreviewDeviceProfileSelectorModule.h | ||
virtual void ShutdownModule() |
PIEPreviewDeviceProfileSelectorModule.h | ||
virtual void StartupModule() |
PIEPreviewDeviceProfileSelectorModule.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString GetDeviceSpecificationContentDir() |
PIEPreviewDeviceProfileSelectorModule.h | ||
static const TCHAR * GetPreviewDeviceCommandSwitch() |
PIEPreviewDeviceProfileSelectorModule.h | ||
static bool IsRequestingPreviewDevice() |
PIEPreviewDeviceProfileSelectorModule.h |