Camera.start
From GiderosMobile
Available since: Gideros 2017.8
Class: camera
Description
Start live streaming of camera images to the specified Texture.
(number), (number), (number), (number) = camera.start(texture,device,pictureWidth,pictureHeight)
Parameters
texture: (Texture) The texture to render camera stream into
device: (string) The camera to use or nil to use the default one optional
pictureWidth: (number) The required width of pictures or 0 if takePicture() isn't used optional
pictureHeight: (number) The required height of pictures or 0 if takePicture() isn't used optional
Return values
Returns (number) Nominal width of camera images
Returns (number) Nominal height of camera images
Returns (number) Selected width of taken pictures
Returns (number) Selected height of taken pictures