Difference between revisions of "Camera"

From Lianjapedia
Jump to: navigation, search
(Methods)
(Properties)
 
Line 10: Line 10:
 
{| class="wikitable" width="100%"
 
{| class="wikitable" width="100%"
 
!width="20%"|Property
 
!width="20%"|Property
!Access (R/RW)
 
 
!Value
 
!Value
 +
!Access (R/RW)
 
!width="50%"|Description
 
!width="50%"|Description
 
|-
 
|-
 +
|camera||Character||(R)||Returns the currently selected cameras
 +
|-
 +
|list||Character||(R)||Returns a comma separated list of available cameras
 
|}
 
|}
  

Latest revision as of 21:32, 7 March 2024

Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.

Description

Control to use the webcam on your machine to capture and store images.

Properties

This class supports the Common Properties plus the following:

Property Value Access (R/RW) Description
camera Character (R) Returns the currently selected cameras
list Character (R) Returns a comma separated list of available cameras

Methods

This class supports the Common Methods plus the following:

Method Args Description
getPhoto filename as character get a photo
start None Start the camera.
stop None Stop the camera.
takePhoto None Take a photo. Stores it in photo.png in the current directory.

Events

This class supports the Common Events plus the following:

Event Args Description