C# Class PGMEBackend.AnimatedTexture

Afficher le fichier Open project: Diegoisawesome/AwesomeMapEditor-old Class Usage Examples

Méthodes publiques

Свойство Type Description
CurrentFrame int
Framerate float
Height int
Sheet Spritesheet
Width int

Méthodes publiques

Méthode Description
Draw ( double x, double y, double scale ) : void
FrameAdvance ( int num ) : void
Load ( Bitmap bmp, int width, int height ) : AnimatedTexture
Load ( Bitmap bmp, int width, int height, TextureFilteringMode mode ) : AnimatedTexture
Load ( string path, int width, int height ) : AnimatedTexture
Load ( string path, int width, int height, TextureFilteringMode mode ) : AnimatedTexture

Method Details

Draw() public méthode

public Draw ( double x, double y, double scale ) : void
x double
y double
scale double
Résultat void

FrameAdvance() public méthode

public FrameAdvance ( int num ) : void
num int
Résultat void

Load() public static méthode

public static Load ( Bitmap bmp, int width, int height ) : AnimatedTexture
bmp System.Drawing.Bitmap
width int
height int
Résultat AnimatedTexture

Load() public static méthode

public static Load ( Bitmap bmp, int width, int height, TextureFilteringMode mode ) : AnimatedTexture
bmp System.Drawing.Bitmap
width int
height int
mode TextureFilteringMode
Résultat AnimatedTexture

Load() public static méthode

public static Load ( string path, int width, int height ) : AnimatedTexture
path string
width int
height int
Résultat AnimatedTexture

Load() public static méthode

public static Load ( string path, int width, int height, TextureFilteringMode mode ) : AnimatedTexture
path string
width int
height int
mode TextureFilteringMode
Résultat AnimatedTexture

Property Details

CurrentFrame public_oe property

public int CurrentFrame
Résultat int

Framerate public_oe property

public float Framerate
Résultat float

Height public_oe property

public int Height
Résultat int

Sheet public_oe property

public Spritesheet,PGMEBackend Sheet
Résultat Spritesheet

Width public_oe property

public int Width
Résultat int