Navigation
API > API/Plugins > API/Plugins/GameplayCameras > API/Plugins/GameplayCameras/UGameplayControlRotationComponen-
Description
Activates management of a player controller's control rotation. The component will set the control rotation every frame based on the latest camera system update.
| Name | ActivateControlRotationManagementForPlayerIndex |
| Type | function |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/GameFramework/GameplayControlRotationComponent.h |
| Include Path | #include "GameFramework/GameplayControlRotationComponent.h" |
| Source | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Private/GameFramework/GameplayControlRotationComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Control Rotation")
void ActivateControlRotationManagementForPlayerIndex
(
int32 PlayerIndex
)