Navigation
API > API/Runtime > API/Runtime/UMG
| Name | FUMGViewportClient |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/Viewport.h |
| Include Path | #include "Components/Viewport.h" |
Syntax
class FUMGViewportClient :
public FCommonViewportClient ,
public FViewElementDrawer
Inheritance Hierarchy
- FViewportClient → FCommonViewportClient → FUMGViewportClient
- FViewElementDrawer → FUMGViewportClient
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUMGViewportClient
(
FPreviewScene* InPreviewScene |
Components/Viewport.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FUMGViewportClient() |
Components/Viewport.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FSceneView * CalcSceneView
(
FSceneViewFamily* ViewFamily |
Components/Viewport.h | ||
FLinearColor GetBackgroundColor() |
Components/Viewport.h | ||
const FVector & GetLookAtLocation() |
Components/Viewport.h | ||
float GetOrthoUnitsPerPixel
(
const FViewport* Viewport |
Components/Viewport.h | ||
float GetOrthoZoom() |
Components/Viewport.h | ||
virtual FSceneInterface * GetScene() |
Components/Viewport.h | ||
const FVector & GetViewLocation() |
Components/Viewport.h | ||
FMatrix GetViewProjectionMatrix() |
Components/Viewport.h | ||
const FRotator & GetViewRotation() |
Components/Viewport.h | ||
bool IsAspectRatioConstrained() |
Components/Viewport.h | ||
void SetBackgroundColor
(
FLinearColor InBackgroundColor |
Components/Viewport.h | ||
void SetEngineShowFlags
(
FEngineShowFlags InEngineShowFlags |
Components/Viewport.h | ||
void SetLookAtLocation
(
const FVector& LookAt, |
Sets the look at location of the viewports camera for orbit * | Components/Viewport.h | |
void SetOrthoZoom
(
float InOrthoZoom |
Sets ortho zoom amount | Components/Viewport.h | |
void SetViewLocation
(
const FVector& NewLocation |
Sets the location of the viewport's camera | Components/Viewport.h | |
void SetViewRotation
(
const FRotator& NewRotation |
Sets the location of the viewport's camera | Components/Viewport.h | |
virtual void Tick
(
float InDeltaTime |
Components/Viewport.h |
Overridden from FViewportClient
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Components/Viewport.h | |||
virtual UWorld * GetWorld() |
Components/Viewport.h |
Overridden from FViewElementDrawer
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Draw
(
const FSceneView* View, |
Components/Viewport.h |