SpatialInteractionSource.IsGraspSupported 属性

定义

获取源是否支持抓取。

public:
 property bool IsGraspSupported { bool get(); };
bool IsGraspSupported();
public bool IsGraspSupported { get; }
var boolean = spatialInteractionSource.isGraspSupported;
Public ReadOnly Property IsGraspSupported As Boolean

属性值

Boolean

bool

对于某些运动控制器为 True,对于其他交互源为 false。

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

适用于