共用方式為


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 需求

規格需求 Description
裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

適用於