APlayerController::SetCinematicMode

Adjust input based on cinematic mode

Windows
MacOS
Linux

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

Syntax

virtual void SetCinematicMode
(
    bool bInCinematicMode,
    bool bAffectsMovement,
    bool bAffectsTurning
)

Remarks

Adjust input based on cinematic mode

Parameters

Parameter

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss