Struct XrQuaternionf
Rotation is represented by a unit quaternion defined by the XrQuaternionf structure.
Inherited Members
Namespace: VIVE.OpenXR
Assembly: VIVE.OpenXR.dll
Syntax
public struct XrQuaternionf
Constructors
XrQuaternionf(float, float, float, float)
Declaration
public XrQuaternionf(float in_x, float in_y, float in_z, float in_w)
Parameters
Type | Name | Description |
---|---|---|
float | in_x | The x coordinate of the quaternion. |
float | in_y | The y coordinate of the quaternion. |
float | in_z | The z coordinate of the quaternion. |
float | in_w | The w coordinate of the quaternion. |
Fields
w
The w coordinate of the quaternion.
Declaration
public float w
Field Value
Type | Description |
---|---|
float |
x
The x coordinate of the quaternion.
Declaration
public float x
Field Value
Type | Description |
---|---|
float |
y
The y coordinate of the quaternion.
Declaration
public float y
Field Value
Type | Description |
---|---|
float |
z
The z coordinate of the quaternion.
Declaration
public float z
Field Value
Type | Description |
---|---|
float |
Properties
Identity
Declaration
public static XrQuaternionf Identity { get; }
Property Value
Type | Description |
---|---|
XrQuaternionf |