FHeadMountedDisplayBase::CalculateStereoViewOffset

Calculates the offset for the camera position, given the specified position, rotation, and world scale

Windows
MacOS
Linux

Override Hierarchy

IStereoRendering::CalculateStereoViewOffset()

FHeadMountedDisplayBase::CalculateStereoViewOffset()

References

Module

HeadMountedDisplay

Header

/Engine/Source/Runtime/HeadMountedDisplay/Public/HeadMountedDisplayBase.h

Include

#include "HeadMountedDisplayBase.h"

Source

/Engine/Source/Runtime/HeadMountedDisplay/Private/HeadMountedDisplayBase.cpp

Syntax

virtual void CalculateStereoViewOffset
(
    const enum EStereoscopicPass StereoPassType,
    FRotator & ViewRotation,
    const float WorldToMeters,
    FVector & ViewLocation
)

Remarks

Calculates the offset for the camera position, given the specified position, rotation, and world scale

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss