User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

getcameraproperty [2016/09/06 07:54] (current)
act created
Line 1: Line 1:
 +====== GetCameraProperty ======
 +The ''​GetCameraProperty''​ function returns the current [[getcamerapropertylist|camera property]] value for the given camera. If no camera name is given, then the first connected camera is taken.
 +==== Syntax ====
 +string: GetCameraProperty(string propertyName[,​ string cameraName=""​])
 +==== Examples ====
 +var result = GetCameraProperty("​BatteryLevel",​ "GoPro Hero 4");
 +// returns the current battery level of the GoPro Hero 4.
 +// Returns false if the given camera is not connected.
getcameraproperty.txt · Last modified: 2016/09/06 07:54 by act