Esempio n. 1
0
        public override void Draw()
        {
            if (_model == null)
            {
                return;
            }
            base.Draw();

            if (Event.current.type == EventType.Repaint)
            {
                foreach (var obj in _obj)
                {
                    obj.transform.Rotate(0, 0.5f, 0);
                }

                if (CameraLeft.gameObject.activeSelf)
                {
                    CameraLeft.Render();
                    if (CameraRight != null)
                    {
                        CameraRight.Render();
                    }
                }

                GUI.DrawTexture(ZoomInRect, _plusIcon);
                GUI.DrawTexture(ZoomOutRect, _minusIcon);
            }
        }
Esempio n. 2
0
 public void Camera_Left_CapToSave(string SavePath, string FileType)
 {
     CameraLeft.ShotToSaveImage(SavePath, FileType);
 }
Esempio n. 3
0
 public Bitmap Camera_Left_Cap()
 {
     return(CameraLeft.Shot());
 }