Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APlayerController
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include | #include "GameFramework/PlayerController.h" |
UFUNCTION (BlueprintCallable, Category="HUD")
void GetViewportSize
(
int32 & SizeX,
int32 & SizeY
) const
Remarks
Helper to get the size of the HUD canvas for this player controller. Returns 0 if there is no HUD