Class QRCodeScanner
Inherited Members
Namespace: Unity.MARS.Companion.Core
Syntax
public class QRCodeScanner : MonoBehaviour
Methods
NotifyWebCamReady()
Declaration
public void NotifyWebCamReady()
StartScanning(Action<String>, Action<Texture>)
Declaration
public void StartScanning(Action<string> scanCallback, Action<Texture> textureSetupCallback)
Parameters
Type | Name | Description |
---|---|---|
Action<String> | scanCallback | |
Action<Texture> | textureSetupCallback |
StopScanning()
Declaration
public void StopScanning()
UpdateImageRect(RectTransform, out Rect)
Declaration
public void UpdateImageRect(RectTransform rectTransform, out Rect uvRect)
Parameters
Type | Name | Description |
---|---|---|
RectTransform | rectTransform | |
Rect | uvRect |