FCommonViewportClient

Common functionality for game and editor viewport clients

Windows
MacOS
Linux

Inheritance Hierarchy

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()

References

Module

Engine

Header

Runtime/Engine/Public/UnrealClient.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