共用方式為


SpatialRecognitionStartedEventArgs 類別

定義

提供 SpatialGestureRecognizer.RecognitionStarted 事件的資料。

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

Windows 需求

裝置系列
Windows 10 (已於 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v2.0 引進)

屬性

InteractionSourceKind

取得與此手勢相關聯的互動來源種類。

方法

IsGesturePossible(SpatialGestureSettings)

根據相關互動來源的功能,傳回指定的手勢是否可行。 例如,語音無法用於操作手勢。

TryGetPointerPose(SpatialCoordinateSystem)

取得可用的指標姿勢,例如使用者的頭部注視和每個動作控制器的指標姿勢,以用於以這個手勢為目標。

適用於