tModLoader v2024.09
A mod to make and play Terraria mods
GameEffect Class Referenceabstract

Inherited by CustomSky, Filter, and Overlay.

Public Member Functions

abstract void Activate (Vector2 position, params object[] args)
 
abstract void Deactivate (params object[] args)
 
abstract bool IsVisible ()
 
void Load ()
 
virtual void OnLoad ()
 

Public Attributes

float Opacity
 

Protected Attributes

bool _isLoaded
 
EffectPriority _priority
 

Properties

bool IsLoaded [get]
 
EffectPriority Priority [get]