selectCamera()

Description

Selects a camera Data Source by its name.

Syntax

DCSObject.camera.selectCamera(string cameraName);

Parameters

<string> cameraName: The name of the source.

Return value

bool

true indicates success. false indicates failure.

Example

if (DCSObject) {
   DCSObject.camera.selectCamera("Integrated Camera");
}

See also

.camera.getCameraList()