SpatialPointerPose.Eyes SpatialPointerPose.Eyes SpatialPointerPose.Eyes SpatialPointerPose.Eyes SpatialPointerPose.Eyes Property

Definition

Gets the user's eye gaze for this timestamp.

public : EyesPose Eyes { get; }
EyesPose Eyes();
public EyesPose Eyes { get; }
Public ReadOnly Property Eyes As EyesPose
var eyesPose = spatialPointerPose.eyes;

Property Value

The eye gaze if supported by the current headset; otherwise, null.

Additional features and requirements

Device family
Windows 10, version 1903 (introduced v10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v8)
Capabilities
gazeInput

Remarks

You can determine if spatial eye gaze is supported on this device by checking EyesPose.IsSupported.

This property is for reasoning about spatial eye gaze in a headset. For screen-space eye gaze relative to a monitor, see GazeDevicePreview instead.