HelloCubeApp

Create your simple app "Hello cube!"

Let's try to develop your Spatial Reality Display app in Unity !

  1. Open a new scene from File > New Scene and remove Main Camera (prepared by default) from the scene

new-scene

  1. Put SRDisplayManager Prefab in your scene Hierarchy
  • You can find SRDisplayManager Prefab in Assets / SRDisplayUnityPlugin / Runtime / Prefabs

place-manager-prefabThen, you can see a blue wireframe GIZMO box and a cyan wireframe GIZMO plane.

Tips

The blue GIZMO box describes the View Space in Spatial Reality Display and the cyan GIZMO plane describes the actual Spatial Reality Display screen plane. The default scale of these GIZMOs is the same as the actual Spatial Reality Display, if Unity scale 1 means 1 meter.

 

Tips

The default scale in Unity is so big for Spatial Reality Display that you may miss the GIZMO box and plane. You may need to zoom to the world origin in Scene View to find the GIZMO box and plane. To quickly zoom in, select the SRDisplayBox in the Hierarchy view and hold down the SHIFT key and press the ‘F’ key.

  1. You can use SRDisplayBox Prefab that shows the floor and walls(transparent) of Spatial Reality Display.

place-box-prefab

  1. You can place any objects

place-objects

Tips

The scale of the Spatial Reality Display is small when using the default Unity scaling.

 

You may need to adjust your objects size or use View Space Scaling to fit within the Spatial Reality Display camera view.

 

Caution

Objects should be inside of the Spatial Reality Display View Space. If objects stick out of the View Space, we recommend to use Spatial Clipping. However, Spatial Clipping has some side effect to some shaders (See for the details: Spatial Clipping has side effects on some shaders).

  1. Configure Project Settings from Edit > Project Settings...

project-settings-quality

  1. Open Build Settings dialog from File > Build Settings and double-check your configuration settings.
  1. Add your scene to Scenes In Build in Build Settings

  2. Make sure that Architecture is Intel 64-bit

build-settings

  1. Click Build in Build Settings and choose the folder you want to save the app, then you can get the app file(.exe).

exe-in-explorer

  1. Unity will create an executable file in that folder. Click on that file and it will launch the content on the Spatial Reality Display.

Developer Contact・
Commercial Use