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

◆ DrawString() [5/6]

static void ReLogic.Graphics.DynamicSpriteFontExtensionMethods.DrawString ( this SpriteBatch spriteBatch,
DynamicSpriteFont spriteFont,
StringBuilder text,
Vector2 position,
Color color,
float rotation,
Vector2 origin,
float scale,
SpriteEffects effects,
float layerDepth )
inlinestatic

Definition at line 44 of file DynamicSpriteFontExtensionMethods.cs.

45 {
46 //IL_0011: Unknown result type (might be due to invalid IL or missing references)
47 //IL_0012: Unknown result type (might be due to invalid IL or missing references)
48 //IL_0016: Unknown result type (might be due to invalid IL or missing references)
49 //IL_001a: Unknown result type (might be due to invalid IL or missing references)
50 Vector2 scale2 = default(Vector2);
51 ((Vector2)(ref scale2))._002Ector(scale);
52 spriteFont.InternalDraw(text.ToString(), spriteBatch, position, color, rotation, origin, ref scale2, effects, layerDepth);
53 }

References ReLogic.Graphics.DynamicSpriteFont.InternalDraw(), and Microsoft.Xna.Framework.Graphics.Vector2.