Unity での手と視点の追跡Articulated Hand and Eye Tracking in Unity
HoloLens 2 では、左手や視線の追跡など、いくつかの新機能と魅力的な機能が導入されました。HoloLens 2 has introduced some new and exciting capabilities, such as Articulated Hand and Eye Tracking.
Unity の新機能を利用する最も簡単な方法は、MRTK を使用することです。The easiest way to leverage the new capability in Unity is through MRTK. また、使用を開始する際に役立ついくつかのシーンもあります。There are also some example scenes to help you get started.
- MRTK での手による作業の開始Get started with Articulated Hand in MRTK
- MRTK での視線追跡の概要Get started with Eye Tracking in MRTK
MRTK の手や目などをサポートするビルディングブロックBuilding Blocks supporting Hands, eyes and others in MRTK
MRTK v2 には、開発を高速化するために役立つ一連の UI コントロールと構成要素が用意されています。MRTK v2 provides a set of UI Controls and building blocks to help you accelerate your development.
![]() ![]() |
![]() ![]() |
![]() ![]() |
---|---|---|
HoloLens2's を含むさまざまな入力メソッドをサポートするボタンコントロールA button control, which supports various input methods including HoloLens2's articulated hand | 3D 空間内のオブジェクトを操作するための標準 UIStandard UI for manipulating objects in 3D space | 1人または2人の手でオブジェクトを操作するためのスクリプトScript for manipulating objects with one or two hands |
![]() ![]() |
![]() ![]() |
![]() ![]() |
入力によるスクロールをサポートする2D スタイル平面2D style plane, which supports scrolling with articulated hand input | Unity でシステムキーボードを使用するサンプルスクリプトExample script of using the system keyboard in Unity | 視覚的な状態とテーマのサポートを使用してオブジェクトを対話型するためのスクリプトA script for making objects interactable with visual states and theme support |
![]() ![]() |
![]() ![]() |
![]() ![]() |
タグ沿い、本文ロック、定数ビューサイズ、および表面吸着などのさまざまなオブジェクトの配置動作Various object positioning behaviors such as tag-along, body-lock, constant view size, and surface magnetism | 3次元図形内のオブジェクトの配列をレイアウトするためのスクリプトScript for lay out an array of objects in a three-dimensional shape | フレキシブルアンカー/ピボットシステムを使用した注釈 UI。モーションコントローラーとオブジェクトのラベル付けに使用できます。Annotation UI with flexible anchor/pivot system, which can be used for labeling motion controllers and object. |
![]() ![]() |
![]() ![]() |
![]() ![]() |
境界ボックスの手動アクティブ化の UIUI for Bounding Box's manual activation | さまざまな種類のポインターについてLearn about various types of pointers | 指先での Visual affordance による直接的な相互作用の信頼性の向上Visual affordance on the fingertip, which improves the confidence for the direct interaction |
![]() ![]() |
![]() ![]() |
![]() ![]() |
視点、音声、手入力を組み合わせてシーン全体のホログラムをすばやく簡単に選択するCombine eyes, voice, and hand input to quickly and effortlessly select holograms across your scene | 見ている内容に基づいて、テキストを自動的にスクロールしたり、フォーカスされるコンテンツにズームしたりする方法について説明します。Learn how to auto scroll text or zoom into focused content based on what you're looking at | アプリでユーザーが見ていることをログに記録し、読み込んで、視覚化する例Examples for logging, loading, and visualizing what users have been looking at in your app |
シーンの例Example Scenes
このシーンの例では、MRTK のさまざまな種類の相互作用と UI コントロールについて説明します。Explore MRTK's various types of interactions and UI controls in this example scene.
その他の例については、「 Assets/MixedRealityToolkit/デモ フォルダー」にある Mixed Reality Toolkit GitHubを参照してください。You can find other example scenes in Mixed Reality Toolkit GitHub under Assets/MixedRealityToolkit.Examples/Demos folder.
次の開発チェックポイントNext Development Checkpoint
Unity の開発に関する体験に従っている場合は、MRTK コアのビルディングブロックを調べています。If you're following the Unity development journey we've laid out, you're in the midst of exploring the MRTK core building blocks. ここから、次の構成要素を続けることができます。From here, you can continue to the next building block:
または、Mixed Reality プラットフォームの機能と API に移動します。Or jump to Mixed Reality platform capabilities and APIs:
いつでも Unity 開発チェックポイントに戻ることができます。You can always go back to the Unity development checkpoints at any time.
関連項目See also
- 視線ベースの操作Eye-based interaction
- HoloLens 2 上の視線追跡Eye tracking on HoloLens 2
- 視線入力とコミットGaze and commit
- 手 - 直接操作Hands - Direct manipulation
- 手 - ジェスチャHands - Gestures
- 手 - ポイントとコミットHands - Point and commit
- 本能的な操作Instinctual interactions
- モーション コントローラーMotion controllers
- UnityEngine. XRUnityEngine.XR.WSA.Input
- UnityEngine. XR 追跡UnityEngine.XR.InputTracking