arrow-left

All pages
gitbookPowered by GitBook
1 of 18

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Project

In this section we will install Windows Mixed Reality developer tools and learn about how to use them.

Windows Device Portal

How to simulate input interactions in Unity editor?

Mixed Reality Toolkit(MRTK) supports in-editor input simulation. Simply run your scene by clicking Unity’s play button. Use these keys to simulate input.

  • Press W, A, S, D keys to move the camera.

  • Hold the right mouse button and move the mouse to look around.

  • To bring up the simulated hands, press Space bar(Right hand) or left Shift key(Left hand).

  • To keep in the view, press T or Y key.

  • To rotate simulated hands, press Q or E(horizontal) / R or F(vertical).

simulated handsarrow-up-right

How to use MRTK Visual Profiler?

How to set-up HoloLens 2 development environment?

What is HoloLens Emulator?

The HoloLens Emulator lets you test holographic applications on your PC without a physical HoloLens. It also includes the HoloLens development toolset.

How to create 3D models using Autodesk 3dsMax?

How to log for debugging purposes?

How to add MRTK(Mixed Reality Toolkit) Diagnostic System to your project?

How to deploy to HoloLens Emulator?

How to upload 3D models to your project?

How to create your own models using Maquette?

Working with 3D Objects

How to create polygon models?

Where to find pre-made 3D models?

What is HoloLens Device Portal?

The Windows Device Portal for HoloLens lets you configure and manage your device remotely over Wi-Fi or USB. The Device Portal is a web server on your HoloLens that you can connect to from a web browser on your PC. The Device Portal includes many tools that will help you manage your HoloLens and debug and optimize your apps.

hashtag
How to setup device portal?

  • Turn on your HoloLens device.

  • Tab your wrist(HoloLens 2) or make a bloom gesture(HoloLens 1) to initiate Windows menu.

  • Open the Settings > Update & Security.

  • Select For Developers tab on the right hand panel.

  • Enable "use developer features" by toggling on/off button.

  • Scroll down at the For Developer settings to enable "Device Portal".

  • Go back to all settings page by clicking "Home" on the left hand panel and select "Network & Internet" settings.

  • Select "Wifi" tab on the left, if it is not already selected.

  • Select the wifi you are connected to and click on "Advanced Options".

  • Scroll down and write down the IPV4 address.

  • You will type in this IP address to your browser to reach to your device portal.

  • You might see a connection Alert as shown below:

  • Go ahead and click Advanced button and click Proceed to <your IP address>(unsafe).

  • Congrats, you made it to your device portal.

  • Click Views on the right hand panel and select "Live Preview" to see the camera view of your HoloLens.

  • You can turn off PV camera if you would like to share or record what you are seeing through your HoloLens but do not want to capture your environment.

  • You can see the videos recorded or screenshots you snapped by asking Cortana here, on the Videos and Photos section, if you enabled voice commands.

Windows menu.
Update & Security Settings.
For Developers Settings.
Device Portal Toggle.
Network and Internet Settings.
Wifi Advanced Options.
Your connection is not private alert.
Device Portal.
Live Preview on Windows Device Portal.

How to monitor performance of your app?

HoloLens 2 Emulator OverviewMicrosoftLearnchevron-right
HoloLens Emulator Overview
Logo

How to set-up HoloLens 2 Emulator

You can download the latest HoloLens Emulator updatearrow-up-right here: bit.ly/emulator2arrow-up-right.

hashtag
Can the HoloLens Emulator run on my device?

Before installing the emulator, make sure your PC meets the following hardware requirements:

circle-exclamation

Windows 10 Home Edition does not support Hyper-V or the HoloLens Emulator. The HoloLens 2 Emulator requires the Windows 10 October 2018 update or later.

hashtag
How to check or enable "Hyper-V" settings?

hashtag
How to install or update the Emulator?

Hardware-based Data Execution Prevention (DEP)
WDDM 2.5 graphics driver (HoloLens 2 Emulator)
  • The emulator might work with an unsupported GPU, but will be significantly slower

  • supported and enabledarrow-up-right

    How to create 3D models with splines?

    Setting up your HoloLens 2 development environmentMicrosoftLearnchevron-right
    Setting up your HoloLens 2 development environmentMicrosoftLearnchevron-right
    Logo
    Logo
    How to install or update HoloLens Emulator?
    How to check or enable "Hyper-V" on your PC