共用方式為


SpatialHoldStartedEventArgs 類別

定義

提供 SpatialGestureRecognizer.HoldStarted 事件的資料。

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

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

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

方法

TryGetPointerPose(SpatialCoordinateSystem)

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

適用於