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

◆ DrawSquare() [1/2]

void ReLogic.Graphics.BasicDebugDrawer.DrawSquare ( Vector2 position,
Vector2 size,
Color color )
inline

Definition at line 58 of file BasicDebugDrawer.cs.

59 {
60 //IL_000c: Unknown result type (might be due to invalid IL or missing references)
61 //IL_0016: Unknown result type (might be due to invalid IL or missing references)
62 //IL_001c: Unknown result type (might be due to invalid IL or missing references)
63 //IL_0021: Unknown result type (might be due to invalid IL or missing references)
64 //IL_0027: Unknown result type (might be due to invalid IL or missing references)
65 _spriteBatch.Draw(_texture, position, (Rectangle?)null, color, 0f, Vector2.Zero, size / 4f, (SpriteEffects)0, 1f);
66 }
void Draw(Texture2D texture, Vector2 position, Color color)

References ReLogic.Graphics.BasicDebugDrawer._spriteBatch, ReLogic.Graphics.BasicDebugDrawer._texture, Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), and Microsoft.Xna.Framework.Vector2.Zero.