Difference between revisions of "Camera.start"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''<translate>Available since</translate>:''' Gideros 2017.8<br/> | '''<translate>Available since</translate>:''' Gideros 2017.8<br/> | ||
+ | '''<translate>Class</translate>:''' [[Special:MyLanguage/camera|camera]]<br/> | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<translate>Start live streaming of camera images to the specified Texture.</translate> | <translate>Start live streaming of camera images to the specified Texture.</translate> |
Revision as of 09:29, 24 August 2018
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