Navigation
API > API/Runtime > API/Runtime/Engine
Common functionality for game and editor viewport clients
| Name | FCommonViewportClient |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/ViewportClient.h |
| Include Path | #include "ViewportClient.h" |
Syntax
class FCommonViewportClient : public FViewportClient
Inheritance Hierarchy
- FViewportClient → FCommonViewportClient
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCommonViewportClient() |
ViewportClient.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FCommonViewportClient() |
ViewportClient.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bShouldUpdateDPIScale | bool | ViewportClient.h | ||
| CachedDPIScale | float | ViewportClient.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DrawHighResScreenshotCaptureRegion
(
FCanvas& Canvas |
ViewportClient.h | ||
float GetDPIDerivedResolutionFraction() |
ViewportClient.h | ||
void RequestUpdateDPIScale() |
Tells this viewport to update editor dpi scale when needed | ViewportClient.h |
Overridden from FViewportClient
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual float GetDPIScale() |
ViewportClient.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual float UpdateViewportClientWindowDPIScale() |
ViewportClient.h |