Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.Graphics.Effects.SkyManager Class Reference

Public Member Functions

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

Static Public Attributes

static SkyManager Instance = new SkyManager()
 

Protected Attributes

bool _isLoaded
 
Dictionary< string, T > _effects
 

Properties

bool IsLoaded [get]
 
this[string key] [get, set]
 

Private Attributes

float _lastDepth
 
LinkedList< CustomSky_activeSkies = new LinkedList<CustomSky>()
 

Detailed Description

Definition at line 7 of file SkyManager.cs.


The documentation for this class was generated from the following file: