|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinevirtualinherited |
Allows you to draw things behind an NPC, or to modify the way the NPC is drawn. Substract screenPos from the draw position before drawing. Return false to stop the game from drawing the NPC (useful if you're manually drawing the NPC). Returns true by default.
| npc | The NPC that is being drawn |
| spriteBatch | The spritebatch to draw on |
| screenPos | The screen position used to translate world position into screen position |
| drawColor | The color the NPC is drawn in |
Definition at line 517 of file GlobalNPC.cs.