Skip to content
Version 2.32.0
↓ Get the launcher

CaptureSizing.VerticalFieldOfView method

The camera’s vertical view angle for the capture render, so the photo frames GuideRect: a shape narrower than (or as wide as) the window keeps the on-screen vertical angle (same scene height, narrower); a wider shape keeps the on-screen HORIZONTAL angle, so its vertical angle narrows (same scene width, shorter).

public static float VerticalFieldOfView(float screenFovDegrees, double screenAspect,
double targetAspect)
parameter description
screenFovDegrees The camera’s on-screen vertical field of view, in degrees.
screenAspect Window width ÷ height.
targetAspect Photo width ÷ height.