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

◆ NewGorePerfect() [1/2]

static Gore Terraria.Gore.NewGorePerfect ( IEntitySource source,
Vector2 Position,
Vector2 Velocity,
int Type,
float Scale = 1f )
inlinestatic

Spawns a gore with an exact position and velocity, no randomization.

Parameters
sourceRecommend using M:Terraria.Entity.GetSource_Death(System.String) or M:Terraria.Entity.GetSource_FromThis(System.String)" as the spawn source</param> <param name="Position"></param> <param name="Velocity"></param> <param name="Type"></param> <param name="Scale">
Returns

Definition at line 1610 of file Gore.cs.

1611 {
1612 //IL_0001: Unknown result type (might be due to invalid IL or missing references)
1613 //IL_0002: Unknown result type (might be due to invalid IL or missing references)
1614 //IL_000c: Unknown result type (might be due to invalid IL or missing references)
1615 //IL_000d: Unknown result type (might be due to invalid IL or missing references)
1616 //IL_0013: Unknown result type (might be due to invalid IL or missing references)
1617 //IL_0014: Unknown result type (might be due to invalid IL or missing references)
1618 Gore gore = NewGoreDirect(source, Position, Velocity, Type, Scale);
1619 gore.position = Position;
1620 gore.velocity = Velocity;
1621 return gore;
1622 }
static Gore NewGoreDirect(Vector2 Position, Vector2 Velocity, int Type, float Scale=1f)
Definition Gore.cs:1587

References Terraria.Gore.NewGoreDirect().

+ Here is the call graph for this function: