| IXRCamera::ApplyHMDRotation()
|
Module |
|
Header |
/Engine/Source/Runtime/HeadMountedDisplay/Public/DefaultXRCamera.h |
Include |
#include "DefaultXRCamera.h" |
Source |
/Engine/Source/Runtime/HeadMountedDisplay/Private/DefaultXRCamera.cpp |
virtual void ApplyHMDRotation
(
APlayerController * PC,
FRotator & ViewRotation
)
Optionally called by APlayerController to apply the orientation of the headset to the PC's rotation. If this is not done then the PC will face differently than the camera, which might be good (depending on the game).