User Tools

Site Tools


getcamerasetting

Table of Contents

GetCameraSetting

The GetCameraSetting function returns the current setting value for a given setting for the given camera. If no camera name is given, then the first connected camera is taken.

Syntax

string: GetCameraSetting(string settingName[, string cameraName=""])

Examples

var result = GetCameraSetting("ExposureCompensation", "GoPro Hero 4");
// returns the currently set exposure compensation value for the 
// GoPro Hero 4 camera.
// False is returned if the camera is not connected or if the 
// given setting is not supported by the camera.
getcamerasetting.txt · Last modified: 2016/09/06 06:56 by act