# GetRawRotationVectorX2

## Description

Returns the X component of the current device orientation as a quaternion. This can be applied to cameras with SetCameraRotationQuat to use the device like a virtual reality headset. This command does internal calculations based on the SetOrientationAllowed values to produce the correct camera orientation for the current device orientation. This command is designed for use with cameras, if you want to orientate an object use GetRawRotationX

## Definition

float GetRawRotationVectorX2()

float agk::GetRawRotationVectorX2()