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" |
| Source | /Engine/Source/Runtime/Engine/Private/PlayerController.cpp |
APlayerState &42; GetSplitscreenPlayerByIndex
&40;
int32 PlayerIndex
&41; const
Remarks
Returns the PlayerState associated with the player at the specified index. the PlayerState associated with the player at the specified index, or None if the player is not a split-screen player or the index was out of range.
Parameters
| Name | Description |
|---|---|
| PlayerIndex | the index [into the local player's GamePlayers array] for the player PlayerState to find |