Shot() public method

public Shot ( string outputFile, string textureName ) : void
outputFile string
textureName string
return void
Beispiel #1
0
 private static void ExtractUv(string kn5, string extractUvTexture) {
     using (var renderer = new UvRenderer(kn5)) {
         var dir = Path.GetDirectoryName(kn5);
         var output = Path.Combine(dir, "extracted_uv.png");
         renderer.Shot(output, extractUvTexture);
         Process.Start(output);
     }
 }