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

◆ GetAlpha()

virtual ? Color Terraria.ModLoader.ModNPC.GetAlpha ( Color drawColor)
inlinevirtual

Allows you to determine the color and transparency in which this NPC is drawn. Return null to use the default color (normally light and buff color). Returns null by default.

Parameters
drawColor
Returns

Definition at line 584 of file ModNPC.cs.

585 {
586 return null;
587 }