public void ExpoortImageFile(ExportPathHelper pathHelper)
 {
     if (texcontainer != null)
     {
         string filename = pathHelper.ToImagePath(Name);
         texcontainer.Save(filename);
     }
     if (lightmapcontainer != null)
     {
         lightmapcontainer.Save(pathHelper);
     }
 }
Example #2
0
        public void Save(ExportPathHelper pathHelper)
        {
            var filepath = pathHelper.ToImagePath(ExportedFileName(".jpg"));

            Save(filepath, JpegQuality, LightmapBrightness, LightmapContrast);
        }