Share via


SpatialPointerPose.Eyes Property

Definition

Gets the user's eye gaze for this timestamp.

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

Property Value

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

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)
App 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.

Applies to