tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.Graphics.Effects.CustomSky Class Referenceabstract

Inherits Terraria.Graphics.Effects.GameEffect.

Inherited by Terraria.GameContent.Skies.AmbientSky, Terraria.GameContent.Skies.BlizzardSky, Terraria.GameContent.Skies.CreditsRollSky, Terraria.GameContent.Skies.LanternSky, Terraria.GameContent.Skies.MartianSky, Terraria.GameContent.Skies.MoonLordSky, Terraria.GameContent.Skies.NebulaSky, Terraria.GameContent.Skies.PartySky, Terraria.GameContent.Skies.SandstormSky, Terraria.GameContent.Skies.SlimeSky, Terraria.GameContent.Skies.SolarSky, Terraria.GameContent.Skies.StardustSky, and Terraria.GameContent.Skies.VortexSky.

Public Member Functions

abstract void Draw (SpriteBatch spriteBatch, float minDepth, float maxDepth)
 
virtual float GetCloudAlpha ()
 
abstract bool IsActive ()
 
override bool IsVisible ()
 
virtual Color OnTileColor (Color inColor)
 
abstract void Reset ()
 
abstract void Update (GameTime gameTime)
 
- Public Member Functions inherited from Terraria.Graphics.Effects.GameEffect
abstract void Activate (Vector2 position, params object[] args)
 
abstract void Deactivate (params object[] args)
 
abstract bool IsVisible ()
 
void Load ()
 
virtual void OnLoad ()
 

Additional Inherited Members

- Public Attributes inherited from Terraria.Graphics.Effects.GameEffect
float Opacity
 
- Protected Attributes inherited from Terraria.Graphics.Effects.GameEffect
bool _isLoaded
 
EffectPriority _priority
 
- Properties inherited from Terraria.Graphics.Effects.GameEffect
bool IsLoaded [get]
 
EffectPriority Priority [get]
 

Member Function Documentation

◆ IsVisible()

override bool Terraria.Graphics.Effects.CustomSky.IsVisible ( )
virtual