APawn::GetViewRotation

Get the view rotation of the Pawn (direction they are looking, normally Controller->ControlRotation).

Windows
MacOS
Linux

Override Hierarchy

APawn::GetViewRotation()

AArchVisCharacter::GetViewRotation()

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 FRotator GetViewRotation() const

Remarks

Get the view rotation of the Pawn (direction they are looking, normally Controller->ControlRotation).

Returns

The view rotation of the Pawn.

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