IXRTrackingSystem::ResetOrientationAndPosition

Resets orientation by setting roll and pitch to 0, assuming that current yaw is forward direction and assuming current position as a 'zero-point' (for positional tracking).

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

IXRTrackingSystem::ResetOrientationAndPosition()

FXRTrackingProxy::ResetOrientationAndPosition()

References

Module

HeadMountedDisplay

Header

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

Include

#include "IXRTrackingSystem.h"

Syntax

void ResetOrientationAndPosition
(
    float Yaw
)

Remarks

Resets orientation by setting roll and pitch to 0, assuming that current yaw is forward direction and assuming current position as a 'zero-point' (for positional tracking).

Parameters

Parameter

Description

Yaw

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