Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
- FCommonViewportClient
- FViewElementDrawer
- FUMGViewportClient
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Components/Viewport.h |
Include | #include "Components/Viewport.h" |
Syntax
class FUMGViewportClient :
public FCommonViewportClient,
public FViewElementDrawer
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FLinearColor | BackgroundColor | |
![]() |
FEngineShowFlags | EngineShowFlags | A set of flags that determines visibility for various scene elements. |
![]() |
FPreviewScene * | PreviewScene | The scene used for the viewport. Owned externally |
![]() |
FMinimalViewInfo | ViewInfo | |
![]() |
FViewport * | Viewport | |
![]() |
FSceneViewStateReference | ViewState | The viewport's scene view state. |
![]() |
FUMGViewportCameraTransform | ViewTransform | Viewport camera transform data |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FUMGViewportClient
(
FPreviewScene* InPreviewScene |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FSceneView * | CalcSceneView
(
FSceneViewFamily* ViewFamily |
|
![]() ![]() |
FLinearColor | ||
![]() ![]() |
const FVector & | ||
![]() ![]() |
float | GetOrthoUnitsPerPixel
(
const FViewport* Viewport |
|
![]() ![]() |
float | GetOrthoZoom () |
|
![]() ![]() ![]() |
FSceneInterface * | GetScene () |
|
![]() ![]() |
const FVector & | ||
![]() ![]() |
const FRotator & | ||
![]() ![]() |
bool | ||
![]() |
void | SetBackgroundColor
(
FLinearColor InBackgroundColor |
|
![]() |
void | SetEngineShowFlags
(
FEngineShowFlags InEngineShowFlags |
|
![]() |
void | SetLookAtLocation
(
const FVector& LookAt, |
Sets the look at location of the viewports camera for orbit * |
![]() |
void | SetOrthoZoom
(
float InOrthoZoom |
Sets ortho zoom amount |
![]() |
void | SetViewLocation
(
const FVector& NewLocation |
Sets the location of the viewport's camera |
![]() |
void | SetViewRotation
(
const FRotator& NewRotation |
Sets the location of the viewport's camera |
![]() ![]() |
void | Tick
(
float InDeltaTime |