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)

获取可用于定位此手势的指针姿势,例如用户的头部凝视和每个运动控制器的指针姿势。

适用于