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 * GetOrCreateInstance
(
TSubclassOf< UserWidgetT > WidgetClass,
WidgetConstructFunc ConstructWidgetFunc
)
Remarks
Gets an instance of the widget this factory is for with a custom underlying SObjectWidget type