Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Blueprint > API/Runtime/UMG/Blueprint/FUserWidgetPool > API/Runtime/UMG/Blueprint/FUserWidgetPool/GetOrCreateInstance
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Blueprint/UserWidgetPool.h |
| Include | #include "Blueprint/UserWidgetPool.h" |
template<typename UserWidgetT>
UserWidgetT &42; GetOrCreateInstance
&40;
TSubclassOf< UserWidgetT > WidgetClass,
WidgetConstructFunc ConstructWidgetFunc
&41;
Remarks
Gets an instance of the widget this factory is for with a custom underlying SObjectWidget type