TRVCamera.FocusType, FocusDistance

<< Click to display table of contents >>

TRVCamera.FocusType, FocusDistance

The properties control the camera focus, it the camera supports it.

type

  // defined in MRVType unit

  TRVCamFocus = (rvcfFocusAuto, rvcfFocusNear, rvcfFocusFar);

property FocusType: TRVCamFocus;

property FocusDistance: Integer;

FocusType:

Value

Meaning

rvcfFocusAuto

automatic focus

rvcfFocusNear

focus near

rvcfFocusFar

focus far

FocusDistance is used only if FocusType<>rvcfFocusAuto. Possible values:

Value

Meaning

1

small displacement

2

large displacement

If the camera supports these properties, their values are received from the camera when the component is connected to it, see SearchCamera.

Default values

FocusType: rvcfFocusAuto

FocusDistance: 1