Creating our first Mixed Reality scene
HoloLens works seamlessly with Unity. With minimal changes to the camera, we can quickly design, build, and deploy MR applications; we'll build one right now (albeit a very simple one).
Select the Main Camera
in the Scene1
window of the
Hierarchy
panel and make the following changes in the Inspector
panel:
Set the
Position
ofX
as0
,Y
as0
, andZ
as0
.- Select
Solid Color
for the
field and set theClear
Flags
Background
color to black; black renders as transparent in HoloLens. Set the
Clipping Planes
|Near
as0.85
andFar
as10
. Here, the value of0.85
is a recommendation from Microsoft as spatial mapping is currently effective between the range of0.85
meters and4
meters, where 1 unit in Unity represents 1 meter in the physical world.
The following screenshot shows the changes made within the Inspector
panel:

Find the Bin
prefab in the Project
panel within the Prefabs
folder and drop it into the Scene
window; select the Bin
either by clicking on it in...