| IXRCamera::CalculateStereoCameraOffset()
|
Module |
|
Header |
/Engine/Source/Runtime/HeadMountedDisplay/Public/IXRCamera.h |
Include |
#include "IXRCamera.h" |
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.