共用方式為


SpatialTappedEventArgs 類別

定義

提供 SpatialGestureRecognizer.Tapped 事件的資料。

public ref class SpatialTappedEventArgs 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 SpatialTappedEventArgs 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 SpatialTappedEventArgs
Public NotInheritable Class SpatialTappedEventArgs
繼承
Object Platform::Object IInspectable SpatialTappedEventArgs
屬性

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

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

TapCount

此筆勢所代表的點選數位,可以是 1 或 2。

方法

TryGetPointerPose(SpatialCoordinateSystem)

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

適用於