IPIEPreviewDeviceModule

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

class IPIEPreviewDeviceModule : public IDeviceProfileSelectorModule

Destructors

Name Description

Public function Virtual

~IPIEPreviewDeviceModule()

Virtual destructor.

Functions

Name Description

Public function

void

 

ApplyCommandLineOverrides()

Gives the PIEPreviewDeviceModule a chance to modify the command line based on the target device json

Public function

void

 

ApplyPreviewDeviceState()

Apply PieWindow device parameters

Public function

TSharedRef< ...

 

CreatePIEPreviewDeviceWindow

(
    FVector2D ClientSize,
    FText WindowTitle,
    EAutoCenter AutoCenterType,
    FVector2D ScreenPosition,
    TOptional< float > MaxWindowWidth,
    TOptional< float > MaxWindowHeight
)

Create PieWindow Ref

Public function Virtual

void

 

OnWindowReady

(
    TSharedRef< SWindow > Window
)

Should be called after the window is created and registered and before scene rendering begins

Public function Virtual

void

 

SetGameLayerManagerWidget

(
    TSharedPtr< class SGameLayerManager...
)

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

Overridden from IDeviceProfileSelectorModule

Name Description

Public function Virtual

const FStrin...

 

GetRuntimeDeviceProfileName()

Run the logic to choose an appropriate device profile for this session

Overridden from IModuleInterface

Name Description

Public function Virtual

void

 

ShutdownModule()

Called before the module is unloaded, right before the module object is destroyed.

Public function Virtual

void

 

StartupModule()

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.

References

Module

Engine

Header

Runtime/Engine/Public/IPIEPreviewDeviceModule.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback