HoloLens emulator will allow you to test holographic applications on your PC without a physical HoloLens device. This emulator uses a Hyper-V virtual machine, which is similar to other emulators, such as windows or android emulators.
To test out the emulator, let's create a sample universal windows holographic application and run it on HoloLens emulator. Follow these steps to create a new holographic application:
- Open Visual Studio and create a new project by selecting the menu option
File
|New
|Project
. - Within the
New Project
window, selectHolographic DirectX 11 App (Universal Windows)
project type and create Project
.
Holographic project option in Visual Studio
- This will create a default Holographic project with a rotating cube in the default view.
- Now make sure that
Solution Platform
option is set tox86
, andHoloLens Emulator
is selected in theEmulator
option. After that, build and run the project.
Project type and emulator setting before build
- After the project is...