public void Initialize(int width, int heigth, WebCamTexture camTexture, ConvertPixScreen convertPixScreen) { heigthCam = heigth; widthCam = width; this.camTexture = camTexture; this.convertPixScreen = convertPixScreen; }
private void SetSizeCam() { heigthCam = camTexture.height; widthCam = camTexture.width; convertPixScreen = new ConvertPixScreen(new Vector2(Camera.main.pixelWidth, Camera.main.pixelHeight), new Vector2(widthCam, heigthCam)); }
public void Initialize(Processing porcessing, ConvertPixScreen convertPixScreen) { this.porcessing = porcessing; this.convertPixScreen = convertPixScreen; }