Navigation
API > API/Runtime > API/Runtime/HeadMountedDisplay > API/Runtime/HeadMountedDisplay/IXRTrackingSystem
Description
Resets orientation by setting roll and pitch to 0, assuming that current yaw is forward direction. Position is not changed.
| Name | ResetOrientation |
| Type | function |
| Header File | /Engine/Source/Runtime/HeadMountedDisplay/Public/IXRTrackingSystem.h |
| Include Path | #include "IXRTrackingSystem.h" |
virtual void ResetOrientation
(
float Yaw
)
Parameters
| Name | Remarks |
|---|---|
| Yaw | (in) the desired yaw to be set after orientation reset. |