|
TModLoader v1.4.4.9
TModLoader source code documentation
|
| float Terraria.Projectile.gfxOffY |
An offset from the actual position of the projectile that will be added to the draw position. Used to offset some held projectiles to match the players F:Terraria.Player.gfxOffY, thereby keeping the projectile visually in sync with the player. F:Terraria.ID.ProjectileID.Sets.HeldProjDoesNotUsePlayerGfxOffY can be used to ignore that usage.
Definition at line 191 of file Projectile.cs.
Referenced by Terraria.DataStructures.PlayerDrawLayers.DrawPlayer_RenderAllLayersSlow(), and Terraria.Projectile.Update().