Struct XrSingleEyePupilDataHTC
The XrSingleEyePupilDataHTC structure describes the validity, diameter and position of a pupil observation.
Inherited Members
Namespace: VIVE.OpenXR.EyeTracker
Assembly: VIVE.OpenXR.dll
Syntax
public struct XrSingleEyePupilDataHTC
Constructors
XrSingleEyePupilDataHTC(XrBool32, XrBool32, float, XrVector2f)
Declaration
public XrSingleEyePupilDataHTC(XrBool32 in_isDiameterValid, XrBool32 in_isPositionValid, float in_pupilDiameter, XrVector2f in_pupilPosition)
Parameters
Type | Name | Description |
---|---|---|
XrBool32 | in_isDiameterValid | An XrBool32 indicating if the returned gazePose is valid. Callers should check the validity of pose prior to use. |
XrBool32 | in_isPositionValid | An XrBool32 indicating if the returned pupilPosition is valid. Callers should check the validity of position prior to use. |
float | in_pupilDiameter | The diameter of pupil in millimeters. |
XrVector2f | in_pupilPosition | The position of pupil in sensor area which x and y are normalized in [0,1]with +Y up and +X to the right. |
Fields
isDiameterValid
An XrBool32 indicating if the returned pupilDiameter is valid. Callers should check the validity of diameter prior to use.
Declaration
public XrBool32 isDiameterValid
Field Value
Type | Description |
---|---|
XrBool32 |
isPositionValid
An XrBool32 indicating if the returned pupilPosition is valid. Callers should check the validity of position prior to use.
Declaration
public XrBool32 isPositionValid
Field Value
Type | Description |
---|---|
XrBool32 |
pupilDiameter
The diameter of pupil in millimeters.
Declaration
public float pupilDiameter
Field Value
Type | Description |
---|---|
float |
pupilPosition
The position of pupil in sensor area which x and y are normalized in [0,1] with +Y up and +X to the right.
Declaration
public XrVector2f pupilPosition
Field Value
Type | Description |
---|---|
XrVector2f |