Difference between revisions of "Camera.start"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | <languages /> | ||
'''<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>Class</translate>:''' [[Special:MyLanguage/camera|camera]]<br/> |
Revision as of 09:59, 3 September 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