terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Draw() [7/29]

void Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw ( Texture2D texture,
Vector2 position,
Color color,
float rotation,
Vector2 origin,
float scale )
inlineinherited

Definition at line 292 of file SpriteBatch.cs.

293 {
294 SpriteBatchItem spriteBatchItem = this.InsertNewBatchItem(texture);
295 int width = texture.Width;
296 int height = texture.Height;
297 if (!true)
298 {
299 }
300 if (!true)
301 {
302 }
303 float x = position.X;
304 float y = position.Y;
305 }
class f__AnonymousType0<< Count > j__TPar
SpriteBatchItem InsertNewBatchItem(Texture2D texture)

References Microsoft.Xna.Framework.Graphics.Texture2D.Height, Microsoft.Xna.Framework.Graphics.SpriteBatch.InsertNewBatchItem(), j__TPar, Microsoft.Xna.Framework.Graphics.Texture2D.Width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.