C# Class FSO.IDE.Common.SpriteEncoderUtils

Afficher le fichier Open project: RHY3756547/FreeSO

Méthodes publiques

Méthode Description
GetPixelAlpha ( SPR2Frame sprite, int tWidth, int tHeight ) : System.Drawing.Image[]

Generates windows bitmaps for the appearance of this sprite.

GetPixelAlpha ( SPR2Frame sprite, int tWidth, int tHeight, Vector2 pos ) : System.Drawing.Image[]
QuantizeFrame ( SPR2Frame frame, byte &bytes ) : Microsoft.Xna.Framework.Color[]

Method Details

GetPixelAlpha() public static méthode

Generates windows bitmaps for the appearance of this sprite.
public static GetPixelAlpha ( SPR2Frame sprite, int tWidth, int tHeight ) : System.Drawing.Image[]
sprite FSO.Files.Formats.IFF.Chunks.SPR2Frame
tWidth int
tHeight int
Résultat System.Drawing.Image[]

GetPixelAlpha() public static méthode

public static GetPixelAlpha ( SPR2Frame sprite, int tWidth, int tHeight, Vector2 pos ) : System.Drawing.Image[]
sprite FSO.Files.Formats.IFF.Chunks.SPR2Frame
tWidth int
tHeight int
pos Vector2
Résultat System.Drawing.Image[]

QuantizeFrame() public static méthode

public static QuantizeFrame ( SPR2Frame frame, byte &bytes ) : Microsoft.Xna.Framework.Color[]
frame SPR2Frame
bytes byte
Résultat Microsoft.Xna.Framework.Color[]