TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ DrawEffects()

virtual void Terraria.ModLoader.ModTile.DrawEffects ( int i,
int j,
SpriteBatch spriteBatch,
ref TileDrawInfo drawData )
inlinevirtualinherited

Allows you to make stuff happen whenever the tile at the given coordinates is drawn. For example, creating dust or changing the color the tile is drawn in. SpecialDraw will only be called if coordinates are added using Main.instance.TilesRenderer.AddSpecialLegacyPoint here.

Parameters
iThe x position in tile coordinates.
jThe y position in tile coordinates.
spriteBatch
drawDataVarious information about the tile that is being drawn, such as color, framing, glow textures, etc.

Reimplemented in Terraria.ModLoader.ModPylon.

Definition at line 421 of file ModTile.cs.

422 {
423 }