コード例 #1
0
 /// <summary>
 /// Sets default value of SpriteSheetAsset.
 /// </summary>
 public override void SetDefaults()
 {
     Sprites          = new List <SpriteInfo>();
     Format           = TextureFormat.Compressed;
     Alpha            = AlphaFormat.Interpolated;
     ColorKeyColor    = new Color(255, 0, 255);
     ColorKeyEnabled  = false;
     GenerateMipmaps  = false;
     PremultiplyAlpha = true;
     Packing          = new PackingAttributes();
 }
コード例 #2
0
 /// <summary>
 /// Sets default value of SpriteSheetAsset.
 /// </summary>
 public override void SetDefaults()
 {
     Sprites = new List<SpriteInfo>();
     Format = TextureFormat.Compressed;
     ColorSpace = TextureColorSpace.Auto;
     Alpha = AlphaFormat.Auto;
     ColorKeyColor = new Color(255, 0, 255);
     ColorKeyEnabled = false;
     GenerateMipmaps = false;
     PremultiplyAlpha = true;
     Packing = new PackingAttributes();
 }