UNativeWidgetHost

A NativeWidgetHost is a container widget that can contain one child slate widget.

Windows
MacOS
Linux

Inheritance Hierarchy

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

Name Description

Protected variable

TSharedPtr< SWi...

 

NativeWidget

Constructors

Name Description

Public function

UNativeWidgetHost

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

TSharedPtr< ...

 

GetContent()

Protected function

TSharedRef< ...

 

GetDefaultContent()

Public function

void

 

SetContent

(
    TSharedRef< SWidget > InContent
)

Overridden from UWidget

Name Description

Public function Virtual

const FText

 

GetPaletteCategory()

Gets the palette category of the widget

Protected function Virtual

TSharedRef< ...

 

RebuildWidget()

Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed.

Overridden from UVisual

Name Description

Public function Virtual

void

 

ReleaseSlateResources

(
    bool bReleaseChildren
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss