Inherits Terraria.Graphics.Effects.Overlay.
|
| 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) |
|
| Overlay (EffectPriority priority, RenderLayers layer) |
|
abstract void | Draw (SpriteBatch spriteBatch) |
|
abstract void | Update (GameTime gameTime) |
|
abstract void | Activate (Vector2 position, params object[] args) |
|
abstract void | Deactivate (params object[] args) |
|
abstract bool | IsVisible () |
|
void | Load () |
|
virtual void | OnLoad () |
|
|
Vector2 | TargetPosition = Vector2.Zero |
|
OverlayMode | Mode = OverlayMode.Inactive |
|
float | Opacity |
|
|
bool | _isLoaded |
|
EffectPriority | _priority |
|
RenderLayers | Layer [get] |
|
bool | IsLoaded [get] |
|
EffectPriority | Priority [get] |
|
◆ Activate()
override void Terraria.Graphics.Effects.SimpleOverlay.Activate |
( |
Vector2 |
position, |
|
|
params object[] |
args |
|
) |
| |
|
virtual |
◆ Deactivate()
override void Terraria.Graphics.Effects.SimpleOverlay.Deactivate |
( |
params object[] |
args | ) |
|
|
virtual |
◆ Draw()
override void Terraria.Graphics.Effects.SimpleOverlay.Draw |
( |
SpriteBatch |
spriteBatch | ) |
|
|
virtual |
◆ IsVisible()
override bool Terraria.Graphics.Effects.SimpleOverlay.IsVisible |
( |
| ) |
|
|
virtual |
◆ Update()
override void Terraria.Graphics.Effects.SimpleOverlay.Update |
( |
GameTime |
gameTime | ) |
|
|
virtual |