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() [9/29]

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

Definition at line 281 of file SpriteBatch.cs.

282 {
283 SpriteBatchItem spriteBatchItem = this.InsertNewBatchItem(texture);
284 int width = srcRect.Width;
285 float texelWidth = texture.TexelWidth;
286 srcRect.X = (int)texelWidth;
287 float x = position.X;
288 float y = position.Y;
289 }
class f__AnonymousType0<< Count > j__TPar
SpriteBatchItem InsertNewBatchItem(Texture2D texture)

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