Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > APlayerController > SetCinematicMode
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 |
virtual void SetCinematicMode
&40;
bool bInCinematicMode,
bool bAffectsMovement,
bool bAffectsTurning
&41;
Remarks
Adjust input based on cinematic mode
Parameters
Name | Description |
---|---|
bInCinematicMode | specify true if the player is entering cinematic mode; false if the player is leaving cinematic mode. |
bAffectsMovement | specify true to disable movement in cinematic mode, enable it when leaving |
bAffectsTurning | specify true to disable turning in cinematic mode or enable it when leaving |