Module |
|
Header |
/Engine/Source/Runtime/HeadMountedDisplay/Public/HeadMountedDisplayFunctionLibrary.h |
Include |
#include "HeadMountedDisplayFunctionLibrary.h" |
Source |
/Engine/Source/Runtime/HeadMountedDisplay/Private/HeadMountedDisplayFunctionLibrary.cpp |
static void ResetOrientationAndPosition
(
float Yaw,
EOrientPositionSelector::Type Options
)
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).
Parameter |
Description |
---|---|
Yaw |
(in) the desired yaw to be set after orientation reset. |
Options |
(in) specifies either position, orientation or both should be reset. |