C# Class ToyBox.SpriteTexture

显示文件 Open project: jlyonsmith/ToyBox Class Usage Examples

Public Methods

Method Description
SpriteTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System
SpriteTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle sourceRect ) : System
SpriteTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle sourceRect, Size destSize ) : System
SpriteTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Size destSize ) : System

Method Details

SpriteTexture() public method

public SpriteTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
return System

SpriteTexture() public method

public SpriteTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle sourceRect ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
sourceRect Microsoft.Xna.Framework.Rectangle
return System

SpriteTexture() public method

public SpriteTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle sourceRect, Size destSize ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
sourceRect Microsoft.Xna.Framework.Rectangle
destSize Size
return System

SpriteTexture() public method

public SpriteTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Size destSize ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
destSize Size
return System