Navigation
API > API/Plugins > API/Plugins/XRBase > API/Plugins/XRBase/FHeadMountedDisplayBase
- IStereoRendering::CalculateStereoViewOffset()
- FHeadMountedDisplayBase::CalculateStereoViewOffset()
- FPixelStreamingHMD::CalculateStereoViewOffset()
References
| Module | XRBase |
| Header | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/HeadMountedDisplayBase.h |
| Include | #include "HeadMountedDisplayBase.h" |
| Source | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Private/HeadMountedDisplayBase.cpp |
virtual void CalculateStereoViewOffset
&40;
const int32 ViewIndex,
FRotator & ViewRotation,
const float WorldToMeters,
FVector & ViewLocation
&41;
Remarks
Calculates the offset for the camera position, given the specified position, rotation, and world scale Specifying eSSE_MONOSCOPIC for the view index returns a center offset behind the stereo views