Scripting

Search The Documentation:

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

setCamViewPort

Platform Compatibility

PC Mac OSX Oculus Quest
X X

Set the viewport of this camera

Parameters:

  • x
    • A float value
  • y
    • A float value
  • w
    • A float value
  • h
    • A float value

Example:

1
obj.setCamViewPort(x, y, w, h)
Tags
Was this article helpful to you? Yes No

How can we help?