GetRawRotationVectorZ2

Description

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

Definition

float GetRawRotationVectorZ2()