2

我正在为 Hololens 构建增强现实应用程序。我需要在不部署到 Hololens 的情况下测试 Air Tap Gesture。

有什么方法可以通过 Hololens Emulator 或 Unity3D 提供的 Holographic Emulation 来测试 Air Tap 功能吗?

4

3 回答 3

3

这将取决于您的仿真环境:

  • Hololens Emulator(来自 Microsoft,允许多个输入设备)

    空中点击手势 - 右键单击​​鼠标,按键盘上的 Enter 键,或使用 Xbox 控制器上的 A 按钮。

  • Windows 全息仿真(来自 Unity,需要游戏控制器)

    使用虚拟手执行轻击手势 - 左右触发按钮;A 按钮

于 2017-09-20T16:53:02.180 回答
0

如果您在 Unity 编辑器中工作,

  • Shift + LMB(鼠标左键)模拟左手的空中点击;

  • Space + LMB 用右手模拟空中敲击。

其他有用的点:

  • 按住RMB可以用鼠标控制注视。还有 q/w/e/a/s/d。(我知道问题只是关于airtap,但他们有点走到了一起)。

  • 如果您需要使用标准键盘测试键入一些数据,则无需模拟 airtap - 只需用鼠标单击即可。

于 2019-02-01T10:00:35.423 回答
0

Adding to the other answer. If you don't have a HoloLens this will not help but, if you do this will speed up development significantly.

On your HoloLens, download the Holographic Remoting App. Once it is downloaded open and run it and you will see your IP address for your HoloLens.

Now, go to the Unity editor -> Window tab -> Holographic Emulation. This will open a new window. For Emulation mode select remote device. Under Remote Machine enter the IP address. You can tinker with the other settings as you see fit.

Now with the Application running on your HoloLens click connect. Once you are connected the Unity editor will tell you and the HoloLens should go blank. Now when you press play on the editor the app will run on the HoloLens.

This does not download the app to your HoloLens and stops running when you stop the editor

于 2017-10-03T21:58:43.760 回答