DetectedPerson 類別

定義

表示由人類存在感測器偵測到的偵測人員。

public ref class DetectedPerson sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 1245184)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DetectedPerson final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 1245184)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DetectedPerson
Public NotInheritable Class DetectedPerson
繼承
Object Platform::Object IInspectable DetectedPerson
屬性

Windows 需求

裝置系列
Windows 11 Insider Preview (已於 10.0.26100.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v19.0 引進)

屬性

DistanceInMillimeters

取得偵測到的人員從人類存在感測器的公厘距離。

Engagement

取得偵測到的人員與裝置的互動方式。

HeadOrientation

取得偵測到人員的頭部相對於人類目前狀態感測器的方向,以 滾動音調偏角

HeadPosition

根據 azimuth高度,取得相對於人類存在感測器的用戶頭部位置。

PersonId

取得指派給偵測到人員的唯一標識符。

適用於