APlayerCameraManager::LimitViewRoll

Limit the player's view roll.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Camera/PlayerCameraManager.h

Include

#include "Camera/PlayerCameraManager.h"

Source

/Engine/Source/Runtime/Engine/Private/PlayerCameraManager.cpp

Syntax

virtual void LimitViewRoll
(
    FRotator & ViewRotation,
    float InViewRollMin,
    float InViewRollMax
)

Remarks

Limit the player's view roll.

Parameters

Parameter

Description

ViewRotation

ViewRotation to modify. Both input and output.

InViewRollMin

Minimum view roll, in degrees.

InViewRollMax

Maximum view roll, in degrees.

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