FCommonViewportClient

Common functionality for game and editor viewport clients

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/UnrealClient.h

Include

#include "UnrealClient.h"

Syntax

class FCommonViewportClient : public FViewportClient

Remarks

Common functionality for game and editor viewport clients

Constructors

Name Description

Public function

FCommonViewportClient()

Destructors

Name Description

Public function Virtual

~FCommonViewportClient()

Functions

Name Description

Public function

void

 

DrawHighResScreenshotCaptureRegion

(
    FCanvas& Canvas
)

Public function Const

float

 

GetDPIDerivedResolutionFraction()

Public function

void

 

RequestUpdateDPIScale()

Tells this viewport to update editor dpi scale when needed

Protected function Virtual Const

float

 

UpdateViewportClientWindowDPIScale()

Overridden from FViewportClient

Name Description

Public function Virtual Const

float

 

GetDPIScale()