Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/FUserWidgetPool
Description
In the case a pool has no owner widget, a default player controller can optionally be specified allowing greater control in split screen scenarios. The following priority rules are applied when determining the controller which should own created widgets: Controller of owning widget (if set) > Default player controller (if set) > First local player controller from world.
| Name | SetDefaultPlayerController |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Blueprint/UserWidgetPool.h |
| Include Path | #include "Blueprint/UserWidgetPool.h" |
| Source | /Engine/Source/Runtime/UMG/Private/Blueprint/UserWidgetPool.cpp |
void SetDefaultPlayerController
(
APlayerController * InDefaultPlayerController
)