/Engine/Source/Runtime/UMG/Public/Components/WidgetComponent.h
Returns the Slate widget that was assigned to this component, if any
const [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > & GetSlateWidget() const