Struct Eyes
Represents a pair of tracked eyes.
Namespace: UnityEngine.InputSystem.XR
Syntax
public struct Eyes
Properties
fixationPoint
The point in 3D space that the pair of eyes is looking.
Declaration
public Vector3 fixationPoint { readonly 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 { readonly get; set; }
Property Value
Type | Description |
---|---|
Single |
leftEyePosition
The tracked position of the left eye.
Declaration
public Vector3 leftEyePosition { readonly get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
leftEyeRotation
The tracked rotation of the left eye.
Declaration
public Quaternion leftEyeRotation { readonly 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 { readonly get; set; }
Property Value
Type | Description |
---|---|
Single |
rightEyePosition
The tracked position of the right eye.
Declaration
public Vector3 rightEyePosition { readonly get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
rightEyeRotation
The tracked rotation of the right eye.
Declaration
public Quaternion rightEyeRotation { readonly get; set; }
Property Value
Type | Description |
---|---|
Quaternion |