Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Draw() [2/7]

void Terraria.DataStructures.SpriteDrawBuffer.Draw ( Texture2D texture,
Rectangle destination,
Rectangle? sourceRectangle,
VertexColors colors,
float rotation,
Vector2 origin,
SpriteEffects effects )
inline

Definition at line 153 of file SpriteDrawBuffer.cs.

154 {
155 Draw(texture, new Vector4(destination.X, destination.Y, destination.Width, destination.Height), sourceRectangle, colors, rotation, origin, effects, 0f);
156 }

References System.destination, Microsoft.Xna.Framework.Draw, and Microsoft.Xna.Framework.Graphics.Vector4.