tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.Graphics.Effects.SkyManager Class Reference

Inherits Terraria.Graphics.Effects.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 Terraria.Graphics.Effects.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 Terraria.Graphics.Effects.EffectManager< CustomSky >
bool _isLoaded
 
- Properties inherited from Terraria.Graphics.Effects.EffectManager< CustomSky >
bool IsLoaded [get]
 
this[string key] [get, set]