User Tools

Site Tools


getcameramode

Differences

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

Link to this comparison view

getcameramode [2016/09/06 07:05] (current)
act created
Line 1: Line 1:
 +====== GetCameraMode ======
 +The ''​GetCameraMode''​ function returns the current [[getcameramodes|camera mode]] for the given camera. If no camera name is given, then the first connected camera is taken.
  
 +==== Syntax ====
 +<​code>​
 +array: GetCameraMode([string cameraName=""​])
 +</​code>​
 +
 +==== Examples ====
 +<​code>​
 +var result = GetCameraMode("​GoPro Hero 4");
 +// returns the current camera mode of the GoPro Hero 4 camera.
 +// If the camera is not connected then false is returned.
 +</​code>​
getcameramode.txt · Last modified: 2016/09/06 07:05 by act