C# Class Terraria.GameContent.UI.Elements.UIImage

Inheritance: Terraria.UI.UIElement
Show file Open project: EmuDevs/EDTerraria Class Usage Examples

Public Methods

Method Description
SetImage ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
UIImage ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : Microsoft.Xna.Framework

Protected Methods

Method Description
DrawSelf ( SpriteBatch spriteBatch ) : void

Method Details

DrawSelf() protected method

protected DrawSelf ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

SetImage() public method

public SetImage ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
return void

UIImage() public method

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