tModLoader v2024.09
A mod to make and play Terraria mods
|
Inherits 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 Overlay | |
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 | |
Vector2 | TargetPosition = Vector2.Zero |
Public Attributes inherited from Overlay | |
OverlayMode | Mode = OverlayMode.Inactive |
Public Attributes inherited from GameEffect | |
float | Opacity |
Additional Inherited Members | |
Protected Attributes inherited from GameEffect | |
bool | _isLoaded |
EffectPriority | _priority |
Properties inherited from Overlay | |
RenderLayers | Layer [get] |
Properties inherited from GameEffect | |
bool | IsLoaded [get] |
EffectPriority | Priority [get] |
|
virtual |
Implements GameEffect.
|
virtual |
Implements GameEffect.
|
virtual |
Implements Overlay.
|
virtual |
Implements GameEffect.
|
virtual |
Implements Overlay.