HoloPlay Unity Plugin
(updated May 4 2020, v1.3.0)
The HoloPlay Unity Plugin helps you build 3D experiences for your Looking Glass. If you're just getting started, please consult the setup guide.
The best way to learn about all of the Plugin's features is to consult the example scenes.
These example scenes go over many useful topics, including:
- Displaying 3D Unity content in the Looking Glass
- Quilts - a texture format that helps you integrate lightfield data from other sources
- Working with the 3D cursor
- 2D Monitor support
- Support for multiple simultaneous Looking Glasses on one Unity scene
Running Linux Builds
Version 1.3.0 is the first version of the HoloPlay Plugin for Unity to support Linux!
However, due to some complications around Unity's window management system, when running builds on Linux it's necessary to launch them from the command line with the "-adapter" parameter set to the index of your Looking Glass display, as in the following example:
YourApp.x86_64 -adapter 2
The above sets your app to run on your second display, which, typically, is the index of your Looking Glass.
In Unity, it's typical for plugins to come with prefabs to accelerate development. The HoloPlay Unity Plugin follows this model and offers a handful of prefabs in Assets/Holoplay/Prefabs. To understand how these work, consult the prefab docs.
More advanced developers may want to know more about how the scripts work. The following pages document the public fields and functions of all the important scripts in the Plugin.
Adding a Leap Motion
Lastly, if you'd like to develop on the Looking Glass with a Leap Motion, you can consult our Leap Motion integration guide.
Building experiences for the Looking Glass can be challenging because it's such a new medium. To make sure your demos really pop, take a look at our Design Guidelines.
Share what you've made
If you'd like to share anything that you've made with the wider Looking Glass community, you can do that at madewith.lookingglassfactory.com.
If you are experiencing any issues, please let us know on our Github issues page.