User Tools

Site Tools


getcamerasettingvalues

GetCameraSettingValues

The GetCameraSettingValues function returns a list of all possible values for a given setting for the given camera. If no camera name is given, then the first connected camera is taken. The returned setting values can be used as arguments for GetCameraSetting and SetCameraSetting functions.

Syntax

array: GetCameraSettingValues(string settingName[, string cameraName=""])

Examples

var result = GetCameraSettingValues("ExposureCompensation", "GoPro Hero 4");
// returns an array with all possible exposure compensation values for the 
// GoPro Hero 4. False is returned if no camera is connected or
// if the function is not supported.
getcamerasettingvalues.txt · Last modified: 2016/09/06 06:50 by act