Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
- UObject
- UVisual
- UWidget
- UPanelWidget
- UContentWidget
- UViewport
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/Viewport.h |
| Include | #include "Components/Viewport.h" |
Syntax
UCLASS (Experimental, MinimalAPI)
class UViewport : public UContentWidget
Variables
| Type | Name | Description | |
|---|---|---|---|
| FLinearColor | BackgroundColor | ||
| 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 | SetEnableAdvancedFeatures
(
bool InEnableAdvancedFeatures |
||
| void | SetLightIntensity
(
float LightIntensity |
||
| void | SetShowFlag
(
FString InShowFlagName, |
||
| void | SetSkyIntensity
(
float LightIntensity |
||
| 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 |