tModLoader v2024.09
A mod to make and play Terraria mods
IPlayerRenderer Interface Reference

Inherited by LegacyPlayerRenderer, and ReturnGatePlayerRenderer.

Public Member Functions

void DrawPlayer (Camera camera, Player drawPlayer, Vector2 position, float rotation, Vector2 rotationOrigin, float shadow=0f, float scale=1f)
 
void DrawPlayerHead (Camera camera, Player drawPlayer, Vector2 position, float alpha=1f, float scale=1f, Color borderColor=default(Color))
 
void DrawPlayers (Camera camera, IEnumerable< Player > players)