|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||DirectShow||MBS Win Plugin||12.4||No||Yes||No||Yes, Windows only||No|
Applications can use this interface to control camera settings such as zoom, pan, aperture adjustment, or shutter speed. To obtain this interface, query the filter that controls the camera.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 3 properties
- 5 methods
- method Constructor
- method Get(PropertySelector as Integer, byref Value as Integer, byref Flags as Integer)
- method GetRange(PropertySelector as Integer, byref MinValue as Integer, byref MaxValue as Integer, byref SteppingDelta as Integer, byref DefaultValue as Integer, byref CapsFlags as Integer)
- method Set(PropertySelector as Integer, Value as Integer, Flags as Integer = 0)
- method ShowPropertyDialog(parent as window = nil, x as integer = 0, y as integer = 0, title as string = "")
- 9 constants
The setting is controlled automatically.
The setting is controlled manually.
Identifies the exposure setting, in log base 2 seconds. In other words, for values less than zero, the exposure time is 1/2n seconds, and for values zero or above, the exposure time is 2n seconds. For example:
Specifies the camera's focus setting, as the distance to the optimally focused target, in millimeters. The range and default value are specific to the device.
Specifies the camera's iris setting, in units of fstop * 10.
Identifies the camera's pan setting, in degrees. Values range from –180 to +180, with the default set to zero. Positive values are clockwise from the origin (the camera rotates clockwise when viewed from above), and negative values are counterclockwise from the origin.
Identifies the camera's roll setting, in degrees. Values range from –180 to +180, with the default set to zero. Positive values cause a clockwise rotation of the camera along the image-viewing axis, and negative values cause a counterclockwise rotation of the camera.
Identifies the camera's tilt setting, in degrees. Values range from –180 to +180, with the default set to zero. Positive values point the imaging plane up, and negative values point the imaging plane down.
Identifies the camera's zoom setting, in millimeters. Values range from 10 to 600, and the default is specific to the device.
This class has no sub classes.
Some methods using this class:
- DirectShowBaseFilterMBS.AMCameraControl as DirectShowAMCameraControlMBS
Some examples which use this class:
The items on this page are in the following plugins: MBS Win Plugin.
MBS Xojo tutorial videos