Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/Runtime/Engine/Kismet/UGameplayStatics
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Kismet/GameplayStatics.h |
| Include | #include "Kismet/GameplayStatics.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GameplayStatics.cpp |
UFUNCTION (BlueprintPure, Category="Game",
Meta=(WorldContext="WorldContextObject", UnsafeDuringActorConstruction="true"))
static APlayerCameraManager * GetPlayerCameraManager
(
const UObject * WorldContextObject,
int32 PlayerIndex
)
Remarks
Returns the camera manager for the Player Controller at the specified player index. This will not include remote clients with no player controller.
Parameters
| Name | Description |
|---|---|
| PlayerIndex | Index in the player controller list, starting first with local players and then available remote ones |