APawn::AddControllerYawInput

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

Choose your operating system:

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 AddControllerYawInput
(
    float Val
)

Remarks

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

Parameters

Parameter

Description

Val

Amount to add to Yaw. This value is multiplied by the PlayerController's InputYawScale value.

See Also

PlayerController::InputYawScale