Looking Glass Pro (Legacy)
Last updated
Last updated
only available for versions 1.2.0 to 1.3.1 -- you can download version 1.3.1 here
The Plugin has build support for the 15.6" Looking Glass Pro. You can learn more about the features and specs of the Looking Glass Pro at the Getting Started Guide.
Looking Glass Pro development requires Unity version 2018 or later.
To fully load the example scene:
Open Holoplay\Examples\9 - Pro Workstation
Select the Pro Workstation Manager (Looking Glass)
GameObject from the scene hierarchy
In the Pro Workstation Manager
script, select the Setup\Open Scenes
button
The Setup\Open Scenes
button loads in the _extendedUI
scene of the same name. This scene drives the UI on the Foldout 2D Display. If a scene doesn't exist by this name, this button will create it.
The additional example scene that gets incorporated includes:
It's own Pro Workstation Manager
game object, with the Pro Workstation Manager
script field for Display
set to Foldout 2D
. This is required so that the scenes can identify which displays they drive.
A canvas to manage the UI. Any Unity content is allowable here. Note: the canvas in this example scene has a layout that fits with the Foldout 2D Display.
An IPC (Inter-process communicator) that sends events between the two scenes.
While it's possible to create your own scene from scratch, the preferred route is by copying the example scenes and removing what you don't need and working from there.
Follow these steps if you'd like to start from scratch or if you'd like to integrate your existing project with the Looking Glass Pro.
Create a New Scene
Remove the default Unity camera and add a HoloPlay Capture
to the scene, found in Assets/Holoplay/Prefabs/
Add a Pro Workstation Manager
to the scene, found in Assets/Holoplay/Prefabs/
Select the Pro Workstation Manager
from the scene hierarchy, and click Setup/Open Scene
Add a Pro Workstation Manager
to the second scene
Set the second scene's Pro Workstation Manager
's Display
to Foldout 2D
If the app requires UI elements on the Foldout 2D Display, this can be done using conventional Unity UI elements. If the app requires IPC between the two scenes, this can be done using the IPC example code provided in the demo.
In order to support all Looking Glass Pro functionality, you must build your applications in an unconventional way. Unity's built-in build pipeline will not work. To build the proper way:
Open File > Build Settings... and add both your scenes and click Add Open Scenes to add both scenes to the "Scenes in Build" field
Close the Build Settings window
Select any Pro Workstation Manager
game object
Click the Build (Pro Workstation) button in the Pro Workstation Manager
script in the inspector
When building for the Looking Glass Pro, you must use the Build (Pro Workstation)
button found in the Pro Workstation manager
.
When your build is complete, it is ready to be transferred over to the Looking Glass Pro. If you want your build to auto-play on startup, consult the instructions in the setup guide.
If you have further questions or for further support, please reach out to one of our support specialists by emailing support@lookingglassfactory.com