⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

Renderer.SetFOV

static void SetFOV(float verticalFieldOfViewDegrees)

Only works for 2D windowed modes! This updates the camera’s projection matrix with a new vertical field of view.

This value only affects perspective mode projection, which is the default projection mode.

   
float verticalFieldOfViewDegrees Vertical field of view in degrees.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!