| IXRCamera::CalculateStereoCameraOffset()
|
Module |
|
Header |
/Engine/Source/Runtime/HeadMountedDisplay/Public/DefaultXRCamera.h |
Include |
#include "DefaultXRCamera.h" |
Source |
/Engine/Source/Runtime/HeadMountedDisplay/Private/DefaultXRCamera.cpp |
virtual void CalculateStereoCameraOffset
(
const enum EStereoscopicPass StereoPassType,
FRotator & ViewRotation,
FVector & ViewLocation
)
Calculates the offset for the camera position, given the specified eye pass, position and rotation. An XR plugin implementing stereo rendering should forward all calls of CalculateStereoViewOffset to this method.