Module |
|
Header |
/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Public/CommonUIUtils.h |
Include |
#include "CommonUIUtils.h" |
namespace CommonUIUtils
{
template<typename UserWidgetT>
UserWidgetT * CommonUIUtils::GetOwningUserWidget
(
const UWidget * Widget
)
}
Traverses the UserWidgets that the given widget resides in until we find one matching the given type (or we run out of parents)
The first parent of the given type, or nullptr if there is none
Parameter |
Description |
---|---|
Widget |
The widget whose parent we're seeking |