# GetRawRotationVectorW2

## Description

Returns the W 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 GetRawRotationVectorW

## Definition

float GetRawRotationVectorW2()

float agk::GetRawRotationVectorW2()