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

◆ IsTileBiomeSightable()

virtual ? bool Terraria.ModLoader.GlobalTile.IsTileBiomeSightable ( int i,
int j,
int type,
ref Color sightColor )
inlinevirtual

Allows you to customize whether this tile glows sightColor while the local player has the Biome Sight buff.
Return true to force this behavior, or false to prevent it, overriding vanilla conditions and colors. Returns null by default.
This is only called on the local client.

Parameters
iThe x position in tile coordinates.
jThe y position in tile coordinates.
typeThe tile type
sightColorThe color this tile should glow with, which defaults to P:Microsoft.Xna.Framework.Color.White.

Definition at line 125 of file GlobalTile.cs.

126 {
127 return null;
128 }