IPIEPreviewDeviceModule

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/IPIEPreviewDeviceModule.h

Include

#include "IPIEPreviewDeviceModule.h"

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss