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

◆ DrawEffects()

virtual void Terraria.ModLoader.GlobalTile.DrawEffects ( int i,
int j,
int type,
SpriteBatch spriteBatch,
ref TileDrawInfo drawData )
inlinevirtual

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.
typeThe Tile type of the tile being drawn
spriteBatchThe SpriteBatch that should be used for all draw calls
drawDataVarious information about the tile that is being drawn, such as color, framing, glow textures, etc.

Definition at line 169 of file GlobalTile.cs.

170 {
171 }