/Engine/Source/Runtime/UMG/Public/Slate/SObjectWidget.h
TheSObjectWidgetallows UMG to insert anSWidgetinto the hierarchy that manages the lifetime of the UMGUWidgetthat created it. Once theSObjectWidgetis destroyed it frees the reference it holds to TheUWidgetallowing it to be garbage collected. It also forwards the slate events to theUUserWidgetso that it can forward them to listeners.
class SObjectWidget : public [SCompoundWidget](API\Runtime\SlateCore\Widgets\SCompoundWidget), public [FGCObject](API\Runtime\CoreUObject\UObject\FGCObject)
TObjectPtr<UUs...
WidgetObject
TheUWidgetthat created thisSObjectWidgetwho needs to be kept alive.