共用方式為


GazePointPreview 類別

定義

提供與單一眼球追蹤裝置相關聯的注視輸入點基本屬性。

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
繼承
Object Platform::Object IInspectable GazePointPreview
屬性

Windows 需求

裝置系列
Windows 10, version 1803 (已於 10.0.17134.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v6.0 引進)

備註

注視點的螢幕座標是以裝置無關的圖元, (DIP) 相對於應用程式檢視 (或啟用注視的元素) 限制。

屬性

EyeGazePosition

取得位置,衍生自注視點使用者眼睛的位置和方向。

HeadGazePosition

取得從使用者注視點的頭部位置和方向衍生的位置。

HidInputReport

取得眼球追蹤 裝置的人類介面裝置 (HID) 輸入報告。

SourceDevice

取得與注視輸入相關聯的眼球追蹤裝置相關資訊。

Timestamp

取得注視點輸入事件的時間。

適用於

另請參閱