IXRTrackingSystem::ResetOrientation

Resets orientation by setting roll and pitch to 0, assuming that current yaw is forward direction.

Windows
MacOS
Linux

References

Module

HeadMountedDisplay

Header

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

Include

#include "IXRTrackingSystem.h"

Syntax

virtual void ResetOrientation
(
    float Yaw
)

Remarks

Resets orientation by setting roll and pitch to 0, assuming that current yaw is forward direction. Position is not changed.

Parameters

Parameter

Description

Yaw

(in) the desired yaw to be set after orientation reset.

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