/// <summary> /// 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). /// @param Yaw (in) the desired yaw to be set after orientation reset. /// @param Options (in) specifies either position, orientation or both should be reset. /// </summary> public static void ResetOrientationAndPosition(float Yaw = 0.000000f, EOrientPositionSelector Options = EOrientPositionSelector.OrientationAndPosition) { ResetOrientationAndPosition(IntPtr.Zero, Yaw, (int)Options); }
/// <summary> /// 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). /// @param Yaw (in) the desired yaw to be set after orientation reset. /// @param Options (in) specifies either position, orientation or both should be reset. /// </summary> public extern static void ResetOrientationAndPosition(float Yaw = 0.000000f, EOrientPositionSelector Options = EOrientPositionSelector.OrientationAndPosition);