tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.Graphics.Effects.Overlay Class Referenceabstract

Inherits Terraria.Graphics.Effects.GameEffect.

Inherited by Terraria.Graphics.Effects.SimpleOverlay.

Public Member Functions

 Overlay (EffectPriority priority, RenderLayers layer)
 
abstract void Draw (SpriteBatch spriteBatch)
 
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 ()
 

Public Attributes

OverlayMode Mode = OverlayMode.Inactive
 
- Public Attributes inherited from Terraria.Graphics.Effects.GameEffect
float Opacity
 

Properties

RenderLayers Layer [get]
 
- Properties inherited from Terraria.Graphics.Effects.GameEffect
bool IsLoaded [get]
 
EffectPriority Priority [get]
 

Additional Inherited Members

- Protected Attributes inherited from Terraria.Graphics.Effects.GameEffect
bool _isLoaded
 
EffectPriority _priority