# GetRawRotationVectorW

## Description

Returns the W component of the current device orientation as a quaternion. This can be applied to objects with the SetObjectRotationQuat to mimic the device orientation with an object. This command is designed for use with objects, if you want to orientate the camera use GetRawRotationVectorW2

## Definition

float GetRawRotationVectorW()

float agk::GetRawRotationVectorW()