0

I create 3 cameras for different points of view but now I want to change the field of view for each camera to 120. How can I do that?

rdb
  • 1,488
  • 1
  • 14
  • 24
rina
  • 3
  • 2

1 Answers1

1

You can use the setFov call for each camera, for example:

camera1.node().getLens().setFov(120)
camera2.node().getLens().setFov(120)
camera3.node().getLens().setFov(120)

If you wish to explicitly specify both the horizontal and vertical field of view, you should use the two-parameter version of setFov.

rdb
  • 1,488
  • 1
  • 14
  • 24