예제 #1
0
        public void Save(string filename = "")
        {
            if (filename.Trim() != string.Empty)
            {
                FileInfo = new FileInfo(filename);
            }

            _tex.bmps = _bitmaps.Select(b => b.Bitmap).ToList();
            _tex.Save(FileInfo.Create());
        }
예제 #2
0
        public void Save(string filename = "")
        {
            if (filename.Trim() != string.Empty)
            {
                FileInfo = new FileInfo(filename);
            }

            if (_bitmaps.Count >= 1)
            {
                _tex.headerInfo.format = ((MobileMTTexBitmapInfo)_bitmaps[0]).format;
            }
            _tex.bmps = _bitmaps.Select(b => b.Bitmap).ToList();
            _tex.Save(FileInfo.Create());
        }