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

Inherits Terraria.Graphics.Effects.Overlay.

Public Member Functions

 SimpleOverlay (string textureName, ScreenShaderData shader, EffectPriority priority=EffectPriority.VeryLow, RenderLayers layer=RenderLayers.All)
 
 SimpleOverlay (string textureName, string shaderName="Default", EffectPriority priority=EffectPriority.VeryLow, RenderLayers layer=RenderLayers.All)
 
override void Activate (Vector2 position, params object[] args)
 
override void Deactivate (params object[] args)
 
override void Draw (SpriteBatch spriteBatch)
 
ScreenShaderData GetShader ()
 
override bool IsVisible ()
 
override void Update (GameTime gameTime)
 
- Public Member Functions inherited from Terraria.Graphics.Effects.Overlay
 Overlay (EffectPriority priority, RenderLayers layer)
 
- Public Member Functions inherited from Terraria.Graphics.Effects.GameEffect
void Load ()
 
virtual void OnLoad ()
 

Public Attributes

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

Additional Inherited Members

- Protected Attributes inherited from Terraria.Graphics.Effects.GameEffect
bool _isLoaded
 
EffectPriority _priority
 
- Properties inherited from Terraria.Graphics.Effects.Overlay
RenderLayers Layer [get]
 
- Properties inherited from Terraria.Graphics.Effects.GameEffect
bool IsLoaded [get]
 
EffectPriority Priority [get]