Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UNativeWidgetHost
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/NativeWidgetHost.h |
| Include | #include "Components/NativeWidgetHost.h" |
Syntax
class UNativeWidgetHost : public UWidget
Remarks
A NativeWidgetHost is a container widget that can contain one child slate widget. This should be used when all you need is to nest a native widget inside a UMG widget.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< SWidget > | NativeWidget |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNativeWidgetHost
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< SWidget > | GetContent () |
||
| TSharedRef< SWidget > | |||
| void | SetContent
(
TSharedRef< SWidget > InContent |
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. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |