How to set camera Field of View in BabylonJs?

Hi @all,
I’m trying to set the default Field of View camera in my code, But I can’t found the what property is used for set the camera Field of View.
can anyone help me out this

camera.fov = 0.784793872479 . Or 0.8 :slight_smile:

Every camera has an fov member

1 Like

A reminder that we have all our classes in the docs so you could just type “camera” on the search bar to get to the API :slight_smile: Camera | Babylon.js Documentation (babylonjs.com)

3 Likes

Thanks @RaananW

1 Like

Thanks @carolhmj for sharing the doc link.