Af2Camera.fps - affluxis/csjava GitHub Wiki

Usage
activeCamera.fps

Description
Read-only property; the maximum rate at which you want the camera to capture data, in frames per second. The maximum rate possible depends on the capabilities of the camera; that is, if the camera doesn’t support the value you set here, this frame rate will not be achieved. To set a desired value for this property, use Af2Camera.setMode. Note: The setMode function does not guarantee the requested fps setting; it sets the fps you requested or the fastest fps available.

Example
The following example sets the fps rate of the active camera, myCam.fps.

myCam.setMode(800, 600, 30);

See also
Af2Camera.setMode