Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Camera
  5. trySetCam

trySetCam

Platform Compatibility

PC Mac OSX Oculus Quest
X X

Try to set the current camera our script affects to one we have stored, -1 index for main camera

Parameters:

  • index
    • An integer value

Example:

1
obj.trySetCam(index)
Tags
Was this article helpful to you? Yes No

How can we help?