C# Class MilkShakeFramework.Render.ImageRenderer

Inheritance: Renderer
Afficher le fichier Open project: lucas-jones/MilkShake-old Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( Vector2 position ) : void
Draw ( Vector2 position, Color color ) : void
Draw ( Vector2 position, int width, int height, float rotation, Vector2 origin, Color color, float scaleX = 1, float scaleY = 1 ) : void
ImageRenderer ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System
ImageRenderer ( string url, ImageRendererLoadMode loadMode = ImageRendererLoadMode.Content ) : System
Load ( LoadManager content ) : void

Method Details

Draw() public méthode

public Draw ( Vector2 position ) : void
position Vector2
Résultat void

Draw() public méthode

public Draw ( Vector2 position, Color color ) : void
position Vector2
color Color
Résultat void

Draw() public méthode

public Draw ( Vector2 position, int width, int height, float rotation, Vector2 origin, Color color, float scaleX = 1, float scaleY = 1 ) : void
position Vector2
width int
height int
rotation float
origin Vector2
color Color
scaleX float
scaleY float
Résultat void

ImageRenderer() public méthode

public ImageRenderer ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
Résultat System

ImageRenderer() public méthode

public ImageRenderer ( string url, ImageRendererLoadMode loadMode = ImageRendererLoadMode.Content ) : System
url string
loadMode ImageRendererLoadMode
Résultat System

Load() public méthode

public Load ( LoadManager content ) : void
content MilkShakeFramework.Core.Content.LoadManager
Résultat void