Struct XrVector3f
A three-dimensional vector is defined by the XrVector3f structure.
Assembly: VIVE.OpenXR.dll
Syntax
Constructors
XrVector3f(float, float, float)
Declaration
public XrVector3f(float in_x, float in_y, float in_z)
Parameters
Type |
Name |
Description |
float |
in_x |
The x coordinate of the vector.
|
float |
in_y |
The y coordinate of the vector.
|
float |
in_z |
The z coordinate of the vector.
|
Fields
x
The x coordinate of the vector.
Declaration
Field Value
y
The y coordinate of the vector.
Declaration
Field Value
z
The z coordinate of the vector.
Declaration
Field Value
Properties
Forward
Declaration
public static XrVector3f Forward { get; }
Property Value
One
Declaration
public static XrVector3f One { get; }
Property Value
Right
Declaration
public static XrVector3f Right { get; }
Property Value
Up
Declaration
public static XrVector3f Up { get; }
Property Value
Zero
Declaration
public static XrVector3f Zero { get; }
Property Value
Extension Methods