ExportBitmaps() public method

Export the bitmaps generated by a ProceduralMaterial as TGA files.

public ExportBitmaps ( ProceduralMaterial material, string exportPath, bool alphaRemap ) : void
material UnityEngine.ProceduralMaterial The ProceduralMaterial whose output textures will be saved.
exportPath string Path to a folder where the output bitmaps will be saved. The folder will be created if it doesn't already exist.
alphaRemap bool Indicates whether alpha channel remapping should be performed.
return void
 public static void ExportBitmaps(MenuCommand command)
 {
     m_Importer = AssetImporter.GetAtPath(AssetDatabase.GetAssetPath(command.context)) as SubstanceImporter;
     m_Importer.ExportBitmaps(command.context as ProceduralMaterial);
 }