Lens of a camera

Hello !

I’m looking the Panda’s Manual, searching a function to regulate the camera lens, i found this :

lens.setFov(angle)

but, someone knows what do i must to import to make it work?

Because at the moment to run it, python shell tells me that “lens” global name is not defined… (i found it logic :slight_smile:, there must be something i missed for sure…

check here in the manual:
www.panda3d.org/manual/index.php/L … ld_of_View

the default lens is base.camLens