Depthkit for Unity

Depth Video exported from Depthkit can be added to your Unity project to view on the Looking Glass.

To do so, create a new Unity project project with HoloPlay Unity SDK, and import:

  • Depthkit Unity Plugin - this is available in your Depthkit downloads page once you obtain a license. More information on Depthkit's site.
  • The 3 files that Depthkit exported (.mp4, .png, and .txt)

In the "Object Heirarchy" of a new scene, right click and add the following:

  • "Holoplay Capture" (if you don't already have a "Holoplay capture" object)
  • "Depthkit" -> "Depthkit Clip"

Finally, drag the exported files from your Project Assets into the "Depthkit Clip" inspector fields as shown in this screenshot.

importing into unity

Now, simply resize and angle the footage to fit your needs, and start playing the project to see the video play.