Navigation
API > API/Runtime > API/Runtime/HeadMountedDisplay > API/Runtime/HeadMountedDisplay/IXRCamera
- IXRCamera::CalculateStereoCameraOffset()
- FDefaultXRCamera::CalculateStereoCameraOffset()
References
Module | HeadMountedDisplay |
Header | /Engine/Source/Runtime/HeadMountedDisplay/Public/IXRCamera.h |
Include | #include "IXRCamera.h" |
void CalculateStereoCameraOffset
&40;
const int32 ViewIndex,
FRotator & ViewRotation,
FVector & ViewLocation
&41;
Remarks
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.