Пример #1
0
 public void Initialize(int width, int heigth, WebCamTexture camTexture, ConvertPixScreen convertPixScreen)
 {
     heigthCam             = heigth;
     widthCam              = width;
     this.camTexture       = camTexture;
     this.convertPixScreen = convertPixScreen;
 }
Пример #2
0
    private void SetSizeCam()
    {
        heigthCam = camTexture.height;
        widthCam  = camTexture.width;

        convertPixScreen = new ConvertPixScreen(new Vector2(Camera.main.pixelWidth, Camera.main.pixelHeight), new Vector2(widthCam, heigthCam));
    }
Пример #3
0
 public void Initialize(Processing porcessing, ConvertPixScreen convertPixScreen)
 {
     this.porcessing       = porcessing;
     this.convertPixScreen = convertPixScreen;
 }