SpatialInteractionSource.IsPointingSupported プロパティ

定義

ソースがポインターのポーズを提供できるかどうかを取得します。

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

プロパティ値

Boolean

bool

位置追跡をサポートするモーション コントローラーの場合は true、他の相互作用ソースの場合は false を返します。

Windows の要件

デバイス ファミリ
Windows 10 Creators Update (10.0.15063.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v4.0 で導入)

注釈

ソース ポインターのポーズを取得するには、ソースを SpatialPointingPose.TryGetInteractionSourcePose に渡します。 ポイント可能なモーション コントローラーは、コントローラーが位置追跡を失った場合でも null ポインターポーズを返すことができます。

適用対象