SpatialInteractionSourceProperties 類別

定義

表示手部或動作控制器的進階狀態。

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

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 引進)

屬性

SourceLossRisk

取得偵測手部或動作控制器的風險,其值為 0.0 到 1.0。

方法

TryGetLocation(SpatialCoordinateSystem)

取得以指定座標系統表示的手部或運動控制器位置、方向和速度。

TryGetSourceLossMitigationDirection(SpatialCoordinateSystem)

取得您應該建議使用者在接近偵測區域邊緣時移動其手部或運動控制器的方向。

適用於

另請參閱