SpatialInteractionDetectedEventArgs 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为 SpatialInteractionManager.InteractionDetected 事件提供数据。
public ref class SpatialInteractionDetectedEventArgs 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 SpatialInteractionDetectedEventArgs 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 SpatialInteractionDetectedEventArgs
Public NotInheritable Class SpatialInteractionDetectedEventArgs
- 继承
- 属性
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 中引入)
|
注解
版本历史记录
Windows 版本 | SDK 版本 | 已添加值 |
---|---|---|
1703 | 15063 | InteractionSource |
属性
Interaction |
获取检测到的交互,用于路由到 SpatialGestureRecognizer。 |
InteractionSource |
获取与检测到的交互关联的特定源。 |
InteractionSourceKind |
获取与检测到的交互关联的源的类型。 |
方法
TryGetPointerPose(SpatialCoordinateSystem) |
获取可用于将此交互路由到 SpatialGestureRecognizer 的可用指针姿势,例如用户的头部凝视和每个运动控制器的指针姿势。 |