Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Examples
  5. Overlay Camera

Overlay Camera

Platform Compatibility

PC Mac OSX Oculus Quest
X X

Create a camera object and attach this script to make it render its display over top of all other camera(s) in the level.

1
2
3
4
5
6
--First enable the camera
obj.setCamEnabled(true)
--Then stop the camera from overwriting the other camera(s)
obj.blurCamera(true)
--Make this camera render on top
obj.setCamDepth(100)
Tags
Was this article helpful to you? Yes No

How can we help?