tModLoader v2024.10
A mod to make and play Terraria mods
SkyManager Class Reference

Inherits EffectManager< CustomSky >.

Public Member Functions

void Draw (SpriteBatch spriteBatch)
 
void DrawDepthRange (SpriteBatch spriteBatch, float minDepth, float maxDepth)
 
void DrawRemainingDepth (SpriteBatch spriteBatch)
 
void DrawToDepth (SpriteBatch spriteBatch, float minDepth)
 
override void OnActivate (CustomSky effect, Vector2 position)
 
float ProcessCloudAlpha ()
 
Color ProcessTileColor (Color color)
 
void Reset ()
 
void ResetDepthTracker ()
 
void SetStartingDepth (float depth)
 
void Update (GameTime gameTime)
 
- Public Member Functions inherited from EffectManager< CustomSky >
Activate (string name, Vector2 position=default(Vector2), params object[] args)
 
void Bind (string name, T effect)
 
void Deactivate (string name, params object[] args)
 
void Load ()
 
virtual void OnActivate (T effect, Vector2 position)
 
virtual void OnDeactivate (T effect)
 

Static Public Attributes

static SkyManager Instance = new SkyManager()
 

Additional Inherited Members

- Protected Attributes inherited from EffectManager< CustomSky >
bool _isLoaded
 
- Properties inherited from EffectManager< CustomSky >
bool IsLoaded [get]
 
this[string key] [get, set]