tModLoader v2024.08
A mod to make and play Terraria mods
CustomSky Class Referenceabstract

Inherits GameEffect.

Inherited by AmbientSky, BlizzardSky, CreditsRollSky, LanternSky, MartianSky, MoonLordSky, NebulaSky, PartySky, SandstormSky, SlimeSky, SolarSky, StardustSky, and 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 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 GameEffect
float Opacity
 
- Protected Attributes inherited from GameEffect
bool _isLoaded
 
EffectPriority _priority
 
- Properties inherited from GameEffect
bool IsLoaded [get]
 
EffectPriority Priority [get]
 

Member Function Documentation

◆ IsVisible()

override bool CustomSky.IsVisible ( )
virtual

Implements GameEffect.