Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Components
Inheritance Hierarchy
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Components/Viewport.h |
Include | #include "Components/Viewport.h" |
Syntax
class UViewport : public UContentWidget
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FEngineShowFlags | ShowFlags | Show flags for the engine for this viewport |
![]() |
TSharedPtr< class SAutoRefreshViewport > | ViewportWidget |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UViewport
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const FLinearColor & | ||
![]() ![]() |
FVector | ||
![]() ![]() |
UWorld * | ||
![]() ![]() |
FRotator | ||
![]() |
void | SetBackgroundColor
(
const FLinearColor& InColor |
|
![]() |
void | SetViewLocation
(
FVector Location |
|
![]() |
void | SetViewRotation
(
FRotator Rotation |
|
![]() |
AActor * | Spawn
(
TSubclassOf< AActor > ActorClass |
Overridden from UPanelWidget
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | OnSlotAdded
(
UPanelSlot* Slot |
UPanelWidget. |
![]() ![]() |
void | OnSlotRemoved
(
UPanelSlot* Slot |
Overridden from UWidget
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const FText | Gets the palette category of the widget | |
![]() ![]() |
TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | |
![]() ![]() |
void | Applies all properties to the native widget if possible. |
Overridden from UVisual
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ReleaseSlateResources
(
bool bReleaseChildren |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FLinearColor | BackgroundColor | Direct access to BackgroundColor is deprecated. Please use the getter or setter. |