GetRawRotationVectorZ

Description

Returns the Z 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 GetRawRotationVectorZ2

Definition

float GetRawRotationVectorZ()