APawn::AddControllerPitchInput

Add input (affecting Pitch) to the Controller's ControlRotation, if it is a local PlayerController.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h

Include

#include "GameFramework/Pawn.h"

Source

/Engine/Source/Runtime/Engine/Private/Pawn.cpp

Syntax

virtual void AddControllerPitchInput
(
    float Val
)

Remarks

Add input (affecting Pitch) to the Controller's ControlRotation, if it is a local PlayerController. This value is multiplied by the PlayerController's InputPitchScale value.

Parameters

Parameter

Description

Val

Amount to add to Pitch. This value is multiplied by the PlayerController's InputPitchScale value.

See Also

PlayerController::InputPitchScale

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