Struct Eyes
Represents a pair of tracked eyes.
Namespace: UnityEngine.InputSystem.XR
Assembly: Unity.InputSystem.dll
Syntax
public struct Eyes
  Fields
m_FixationPoint
The point in 3D space that the pair of eyes is looking.
Declaration
public Vector3 m_FixationPoint
  Field Value
| Type | Description | 
|---|---|
| Vector3 | 
m_LeftEyeOpenAmount
The amount [0-1] the left eye is open or closed. 1.0 is fully open.
Declaration
public float m_LeftEyeOpenAmount
  Field Value
| Type | Description | 
|---|---|
| float | 
m_LeftEyePosition
The tracked position of the left eye.
Declaration
public Vector3 m_LeftEyePosition
  Field Value
| Type | Description | 
|---|---|
| Vector3 | 
m_LeftEyeRotation
The tracked rotation of the left eye.
Declaration
public Quaternion m_LeftEyeRotation
  Field Value
| Type | Description | 
|---|---|
| Quaternion | 
m_RightEyeOpenAmount
The amount [0-1] the right eye is open or closed. 1.0 is fully open.
Declaration
public float m_RightEyeOpenAmount
  Field Value
| Type | Description | 
|---|---|
| float | 
m_RightEyePosition
The tracked position of the right eye.
Declaration
public Vector3 m_RightEyePosition
  Field Value
| Type | Description | 
|---|---|
| Vector3 | 
m_RightEyeRotation
The tracked rotation of the right eye.
Declaration
public Quaternion m_RightEyeRotation
  Field Value
| Type | Description | 
|---|---|
| Quaternion | 
Properties
fixationPoint
The point in 3D space that the pair of eyes is looking.
Declaration
public Vector3 fixationPoint { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Vector3 | 
leftEyeOpenAmount
The amount [0-1] the left eye is open or closed. 1.0 is fully open.
Declaration
public float leftEyeOpenAmount { get; set; }
  Property Value
| Type | Description | 
|---|---|
| float | 
leftEyePosition
The tracked position of the left eye.
Declaration
public Vector3 leftEyePosition { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Vector3 | 
leftEyeRotation
The tracked rotation of the left eye.
Declaration
public Quaternion leftEyeRotation { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Quaternion | 
rightEyeOpenAmount
The amount [0-1] the right eye is open or closed. 1.0 is fully open.
Declaration
public float rightEyeOpenAmount { get; set; }
  Property Value
| Type | Description | 
|---|---|
| float | 
rightEyePosition
The tracked position of the right eye.
Declaration
public Vector3 rightEyePosition { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Vector3 | 
rightEyeRotation
The tracked rotation of the right eye.
Declaration
public Quaternion rightEyeRotation { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Quaternion |