Meta SDK2 Beta  2.7.0
Meta.Buttons.MetaButtonWebCamStillImageController Class Reference

Class in charge of capturing still images from the Virtual Webcamm More...

Inheritance diagram for Meta.Buttons.MetaButtonWebCamStillImageController:
Meta.Buttons.IOnMetaButtonEvent

Public Member Functions

delegate void ScreenShotComplete ()
 Delegate for the OnScreenShotComplete event. More...
 
void OnMetaButtonEvent (MetaButton button)
 Upon a Meta button press, initiate a snapshot. Can call this with null to also take a snapshot. More...
 

Properties

string ScreenShotDirectory [get, set]
 The directory for the screenshot image to be saved. More...
 
Color [] GetLastCapturedPixels [get]
 Returns an array of RGB24 format pixels from a texture that can be used to populate another texture. More...
 

Events

ScreenShotComplete OnScreenShotComplete
 An event to fire when the snapshot is complete. As the snapshot executes over time with a co-routine, this will fire at the end of the co-routine. More...
 

Detailed Description

Class in charge of capturing still images from the Virtual Webcamm

Member Function Documentation

◆ OnMetaButtonEvent()

void Meta.Buttons.MetaButtonWebCamStillImageController.OnMetaButtonEvent ( MetaButton  button)
inline

Upon a Meta button press, initiate a snapshot. Can call this with null to also take a snapshot.

Parameters
buttonButton Message

Implements Meta.Buttons.IOnMetaButtonEvent.

◆ ScreenShotComplete()

delegate void Meta.Buttons.MetaButtonWebCamStillImageController.ScreenShotComplete ( )

Delegate for the OnScreenShotComplete event.

Property Documentation

◆ GetLastCapturedPixels

Color [] Meta.Buttons.MetaButtonWebCamStillImageController.GetLastCapturedPixels
get

Returns an array of RGB24 format pixels from a texture that can be used to populate another texture.

◆ ScreenShotDirectory

string Meta.Buttons.MetaButtonWebCamStillImageController.ScreenShotDirectory
getset

The directory for the screenshot image to be saved.

Event Documentation

◆ OnScreenShotComplete

ScreenShotComplete Meta.Buttons.MetaButtonWebCamStillImageController.OnScreenShotComplete

An event to fire when the snapshot is complete. As the snapshot executes over time with a co-routine, this will fire at the end of the co-routine.