Terraria.ModLoader.PlayerHooks.DrawEffects C# (CSharp) Method

DrawEffects() public static method

public static DrawEffects ( Terraria.ModLoader.PlayerDrawInfo drawInfo, float &r, float &g, float &b, float &a, bool &fullBright ) : void
drawInfo Terraria.ModLoader.PlayerDrawInfo
r float
g float
b float
a float
fullBright bool
return void
        public static void DrawEffects(PlayerDrawInfo drawInfo, ref float r, ref float g, ref float b, ref float a, ref bool fullBright)
        {
            foreach (ModPlayer modPlayer in drawInfo.drawPlayer.modPlayers)
            {
                modPlayer.DrawEffects(drawInfo, ref r, ref g, ref b, ref a, ref fullBright);
            }
        }