## C Specification

Rotation is represented by a unit quaternion defined by the XrQuaternionf structure:

``````typedef struct XrQuaternionf {
float    x;
float    y;
float    z;
float    w;
} XrQuaternionf;``````

## Members

Member Descriptions
• `x` is the x coordinate of the quaternion.

• `y` is the y coordinate of the quaternion.

• `z` is the z coordinate of the quaternion.

• `w` is the w coordinate of the quaternion.

## Document Notes

This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.

Copyright (c) 2014-2021, The Khronos Group Inc.