Navigation
Unreal Engine C++ API Reference > Runtime > Engine
Inheritance Hierarchy
- FRenderTarget
- FRenderResource
- FViewport
- FDummyViewport
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/DummyViewport.h |
Include | #include "DummyViewport.h" |
Syntax
class FDummyViewport : public FViewport
Remarks
Minimal viewport for assisting with taking screenshots (also used within a plugin)
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FDummyViewport
(
FViewportClient* InViewportClient |
FDummyViewport |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | SetupHDR
(
EDisplayColorGamut InDisplayColorGamut, |
Overridden from FViewport
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | BeginRenderFrame
(
FRHICommandListImmediate& RHICmdList |
Starts a new rendering frame. Called from the rendering thread. |
![]() ![]() |
void | Invalidates the viewport's cached hit proxies at the end of the frame. | |
![]() ![]() |
void | Destroy () |
|
![]() ![]() |
void | EndRenderFrame
(
FRHICommandListImmediate& RHICmdList, |
Ends a rendering frame. Called from the rendering thread. |
![]() ![]() |
FCanvas * | ||
![]() ![]() |
void | GetMousePos
(
FIntPoint& MousePosition, |
|
![]() ![]() ![]() |
int32 | GetMouseX () |
|
![]() ![]() ![]() |
int32 | GetMouseY () |
|
![]() ![]() |
FViewportFrame * | Retrieves the interface to the viewport's frame, if it has one. | |
![]() ![]() |
void * | GetWindow () |
|
![]() ![]() |
void | Invalidates the viewport's displayed pixels. | |
![]() ![]() ![]() |
bool | ||
![]() ![]() |
void | MoveWindow
(
int32 NewPosX, |
|
![]() ![]() |
void | ProcessInput
(
float DeltaTime |
|
![]() ![]() |
void | SetMouse
(
int32 x, |
|
![]() ![]() |
bool | SetUserFocus
(
bool bFocus |
|
![]() ![]() ![]() |
FIntPoint | ViewportToVirtualDesktopPixel
(
FVector2D ViewportCoordinate |
Transforms a coordinate in the local space of this viewport into a virtual desktop pixel. |
![]() ![]() ![]() |
FVector2D | VirtualDesktopPixelToViewport
(
FIntPoint VirtualDesktopPointPx |
Transforms a virtual desktop pixel (the origin is in the primary screen's top left corner) to the local space of this viewport |
Overridden from FRenderTarget
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
EDisplayColorGamut | ||
![]() ![]() ![]() |
EDisplayOutputFormat | ||
![]() ![]() ![]() |
bool |
Overridden from FRenderResource
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FString | ||
![]() ![]() |
void | InitRHI
(
FRHICommandListBase& RHICmdList |
Initializes the RHI resources used by this resource. |