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

◆ DrawOffset()

static void Terraria.ModLoader.ProjectileLoader.DrawOffset ( Projectile projectile,
ref int offsetX,
ref int offsetY,
ref float originX )
inlinestatic

Definition at line 703 of file ProjectileLoader.cs.

704 {
705 if (projectile.ModProjectile != null)
706 {
707 offsetX = projectile.ModProjectile.DrawOffsetX;
708 offsetY = -projectile.ModProjectile.DrawOriginOffsetY;
709 originX += projectile.ModProjectile.DrawOriginOffsetX;
710 }
711 }

References Terraria.Projectile.ModProjectile.

Referenced by Terraria.Main.DrawProj_DrawNormalProjs().

+ Here is the caller graph for this function: