Exemplo n.º 1
0
 public void AddTextureFormat(Texture2D tx, bool isNormalMap)
 {
     //pixel values don't copy correctly from one texture to another when isNormal is set so unset it.
     SetTextureFormat(tx,
                      new SATextureFormatInfo(TextureImporterFormat.ARGB32, SAVersionEditor.GetPlatformString(), TextureImporterFormat.AutomaticTruecolor, isNormalMap),
                      true, false);
 }
Exemplo n.º 2
0
 public string GetPlatformString()
 {
     return(SAVersionEditor.GetPlatformString());
 }
Exemplo n.º 3
0
 public int GetMaximumAtlasDimension()
 {
     return(SAVersionEditor.GetMaximumAtlasDimension());
 }