Jaa


GazePointPreview Class

Definition

Provides basic properties for the gaze input point associated with a single eye-tracking device.

public ref class GazePointPreview sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GazePointPreview final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class GazePointPreview final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GazePointPreview
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class GazePointPreview
Public NotInheritable Class GazePointPreview
Inheritance
Object Platform::Object IInspectable GazePointPreview
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

The screen coordinates of the gaze point are in device-independent pixels (DIP) relative to, and constrained by, the application view (or gaze-enabled element).

Properties

EyeGazePosition

Gets the location, derived from the position and orientation of the user's eyes, of the gaze point.

HeadGazePosition

Gets the location, derived from the user's head position and orientation, of the gaze point.

HidInputReport

Gets a Human Interface Device (HID) input report for the eye-tracking device.

SourceDevice

Gets information about the eye-tracking device associated with the gaze input.

Timestamp

Gets the time of the gaze point input event.

Applies to

See also