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) |
McMaster University Virtual Reality Simulation and Research
Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | – |
Set the viewport of this camera
Parameters:
Example:
1 | obj.setCamViewPort(x, y, w, h) |