SpatialInteractionController クラス

定義

モーション コントローラーの詳細を表します。

public ref class SpatialInteractionController sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SpatialInteractionController final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SpatialInteractionController
Public NotInheritable Class SpatialInteractionController
継承
Object Platform::Object IInspectable SpatialInteractionController
属性

Windows の要件

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

注釈

バージョン履歴

Windows のバージョン SDK バージョン 追加された値
1709 16299 TryGetRenderableModelAsync
1803 17134 TryGetBatteryReport

プロパティ

HasThumbstick

モーション コントローラーにサムスティックがあるかどうかを取得します。

HasTouchpad

モーション コントローラーにタッチパッドがあるかどうかを取得します。

ProductId

このモーション コントローラーの製品識別子を取得します。

SimpleHapticsController

ユーザーの手で振動するモーション コントローラーの機能へのアクセスを提供します。

VendorId

このモーション コントローラーのベンダー識別子を取得します。

Version

このモーション コントローラーのバージョンまたはリビジョン番号を取得します。

メソッド

TryGetBatteryReport()

モーション コントローラーの現在のバッテリ状態に関する情報を取得します。

TryGetRenderableModelAsync()

このコントローラーを表すためにアンパックおよびレンダリングできる、このコントローラーのレンダリング可能なモデル ストリームを取得します。

適用対象

こちらもご覧ください