Struct XrSingleEyeGeometricDataHTC
The XrSingleEyeGeometricDataHTC structure describes the geometric related data.
Inherited Members
Namespace: VIVE.OpenXR.EyeTracker
Assembly: VIVE.OpenXR.dll
Syntax
public struct XrSingleEyeGeometricDataHTC
Constructors
XrSingleEyeGeometricDataHTC(XrBool32, float, float, float)
Declaration
public XrSingleEyeGeometricDataHTC(XrBool32 in_isValid, float in_eyeOpenness, float in_eyeWide, float in_eyeSqueeze)
Parameters
Type | Name | Description |
---|---|---|
XrBool32 | in_isValid | A flag that indicates if the geometric data is valid. Callers should check the validity of the geometric data prior to use. |
float | in_eyeOpenness | A value in range [0,1] representing the openness of the user's eye. When this value is zero, the eye closes normally. When this value is one, the eye opens normally. When this value goes higher, the eye approaches open. |
float | in_eyeWide | A value in range [0,1] representing how the user's eye open widely. When this value is zero, the eye opens normally. When this value goes higher, the eye opens wider. |
float | in_eyeSqueeze | A value in range [0,1] representing how the user's eye is closed. When this value is zero, the eye closes normally. When this value goes higher, the eye closes tighter. |
Fields
eyeOpenness
A value in range [0,1] representing the openness of the user's eye. When this value is zero, the eye closes normally. When this value is one, the eye opens normally. When this value goes higher, the eye approaches open.
Declaration
public float eyeOpenness
Field Value
Type | Description |
---|---|
float |
eyeSqueeze
A value in range [0,1] representing how the user's eye is closed. When this value is zero, the eye closes normally. When this value goes higher, the eye closes tighter.
Declaration
public float eyeSqueeze
Field Value
Type | Description |
---|---|
float |
eyeWide
Declaration
public float eyeWide
Field Value
Type | Description |
---|---|
float |
isValid
A flag that indicates if the geometric data is valid. Callers should check the validity of the geometric data prior to use.
Declaration
public XrBool32 isValid
Field Value
Type | Description |
---|---|
XrBool32 |