User Tools

Site Tools


getcameramode

Table of Contents

GetCameraMode

The GetCameraMode function returns the current camera mode for the given camera. If no camera name is given, then the first connected camera is taken.

Syntax

array: GetCameraMode([string cameraName=""])

Examples

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.
getcameramode.txt · Last modified: 2016/09/06 07:05 by act