Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components > API/Runtime/UMG/Components/UWidgetComponent
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Components/WidgetComponent.h |
Include | #include "Components/WidgetComponent.h" |
Source | /Engine/Source/Runtime/UMG/Private/Components/WidgetComponent.cpp |
virtual void SetSlateWidget
&40;
const TSharedPtr< SWidget > & InSlateWidget
&41;
Remarks
Sets a Slate widget to be rendered. You can use this to draw native Slate widgets using a WidgetComponent, instead of drawing user widgets.