Webcam
Properties
The VideoChip this camera is streaming contents to.
AccessDenied boolean read only
Will return
trueif Camera access is denied. See Permissions for more information.
Returns
trueif the Webcam is currently being used.
IsAvailable boolean read only
Returns
trueif the Webcam is available for being used.
Methods
GetRenderBuffer( ) RenderBuffer
Gets the camera RenderBuffer. The render buffer obtained can then be fed to the DrawRenderBuffer method of the VideoChip module.
Events
WebcamIsActiveEvent : { IsActive boolean, IsAvailable boolean, AccessDenied boolean, Type string }
Triggered when the Webcam's active state changes.
*IsActiveistrueif the Webcam is being used.
*IsAvailableistrueif the Webcam is available for use.
*AccessDeniedistrueif permissions are disabled for Webcams.
*Typeis"WebcamIsActiveEvent".
Examples
See the Camera Component Tutorial video in the official Retro Gadgets YouTube channel.