Difference between revisions of "Camera.start"

From GiderosMobile
Line 14: Line 14:
 
'''<translate>Returns</translate>''' (number) <translate>Nominal width of camera images</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>Nominal width of camera images</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>Nominal height of camera images</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>Nominal height of camera images</translate><br/>
 +
 +
{{Camera}}

Revision as of 08:48, 4 December 2019


Available since: Gideros 2017.8
Class: camera

Description

Start live streaming of camera images to the specified Texture.

(number), (number) = camera.start(texture,device)

Parameters

texture: (Texture) The texture to render camera stream into
device: (string) The camera to use or nil to use the default one optional

Return values

Returns (number) Nominal width of camera images
Returns (number) Nominal height of camera images