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

◆ Helper_GetOpacityWithAccountingForBackgroundsOff()

float Terraria.GameContent.Skies.AmbientSky.HellBatsGoupSkyEntity.Helper_GetOpacityWithAccountingForBackgroundsOff ( )
inlinepackage

Definition at line 907 of file AmbientSky.cs.

908 {
909 if (Main.netMode == 2 || Main.BackgroundEnabled)
910 {
911 return 1f;
912 }
913 return 0f;
914 }

References Terraria.Main.BackgroundEnabled, and Terraria.Main.netMode.

Referenced by Terraria.GameContent.Skies.AmbientSky.HellBatsGoupSkyEntity.GetColor().