public ExportBitmaps ( |
||
material | 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); }