User Tools

Site Tools


getcameraproperty

Differences

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 ====
 +<​code>​
 +string: GetCameraProperty(string propertyName[,​ string cameraName=""​])
 +</​code>​
 +
 +==== Examples ====
 +<​code>​
 +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.
 +</​code>​
getcameraproperty.txt · Last modified: 2016/09/06 07:54 by act