UHeadMountedDisplayFunctionLibrary::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).

Windows
MacOS
Linux

References

Module

HeadMountedDisplay

Header

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

Include

#include "HeadMountedDisplayFunctionLibrary.h"

Source

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

Syntax

static void ResetOrientationAndPosition
(
    float Yaw,
    EOrientPositionSelector::Type Options
)

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.

Options

(in) specifies either position, orientation or both should be 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