tModLoader v2024.03
A mod to make and play Terraria mods
Overlay Class Referenceabstract

Inherits GameEffect.

Inherited by SimpleOverlay.

Public Member Functions

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

Public Attributes

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

Properties

RenderLayers Layer [get]
 
- Properties inherited from GameEffect
bool IsLoaded [get]
 
EffectPriority Priority [get]
 

Additional Inherited Members

- Protected Attributes inherited from GameEffect
bool _isLoaded
 
EffectPriority _priority