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

◆ PreDraw()

virtual bool Terraria.ModLoader.ModEmoteBubble.PreDraw ( SpriteBatch spriteBatch,
Texture2D texture,
Vector2 position,
Rectangle frame,
Vector2 origin,
SpriteEffects spriteEffects )
inlinevirtual

Allows you to draw things behind this emote bubble, or to modify the way this emote bubble is drawn. Return false to stop the game from drawing the emote bubble (useful if you're manually drawing the emote bubble). Returns true by default.

Parameters
spriteBatch
texture
position
frame
origin
spriteEffects
Returns
If false, the vanilla drawing code will not run.

Definition at line 121 of file ModEmoteBubble.cs.

122 {
123 return true;
124 }