SpatialInteractionSource.Handedness プロパティ

定義

対話ソースがユーザーの左手または右手を表すかどうかを取得します。

public:
 property SpatialInteractionSourceHandedness Handedness { SpatialInteractionSourceHandedness get(); };
SpatialInteractionSourceHandedness Handedness();
public SpatialInteractionSourceHandedness Handedness { get; }
var spatialInteractionSourceHandedness = spatialInteractionSource.handedness;
Public ReadOnly Property Handedness As SpatialInteractionSourceHandedness

プロパティ値

利き手。

Windows の要件

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

注釈

固有の利き手を持つコントローラーの場合、コントローラーが物理的に保持されているハンドに関係なく、常にその利き手が返されます。

位置追跡をサポートせず、HoloLens クリッカーなどの固有の利き手を持たないコントローラーの場合、これは常に Unspecified を返します。

どちらの手でも保持できるコントローラーの場合、システムはヒューリスティックを使用して利き手を決定し、決定されるまで Unspecified を返します。 このようなコントローラーが利き手を変更すると、ソースは失われ、現在の利き手で再検出されます。

HoloLens の手と音声のソースの場合、このプロパティは常に Unspecified を返します。

適用対象