Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
Include |
#include "GameFramework/PlayerController.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PlayerController.cpp |
APlayerState * GetSplitscreenPlayerByIndex
(
int32 PlayerIndex
) const
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.
Parameter |
Description |
---|---|
PlayerIndex |
the index [into the local player's GamePlayers array] for the player PlayerState to find |