Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/IStereoRendering
- IStereoRendering::CalculateStereoViewOffset()
- FHeadMountedDisplayBase::CalculateStereoViewOffset()
- FPixelStreamingHMD::CalculateStereoViewOffset()
- FPixelStreamingHMD::CalculateStereoViewOffset()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/StereoRendering.h |
| Include | #include "StereoRendering.h" |
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