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

◆ QuickDustLine()

static void Terraria.Dust.QuickDustLine ( Vector2 start,
Vector2 end,
float splits,
Color color )
inlinestatic

Definition at line 526 of file Dust.cs.

527 {
528 //IL_0000: Unknown result type (might be due to invalid IL or missing references)
529 //IL_0001: Unknown result type (might be due to invalid IL or missing references)
530 //IL_0011: Unknown result type (might be due to invalid IL or missing references)
531 //IL_0012: Unknown result type (might be due to invalid IL or missing references)
532 //IL_0032: Unknown result type (might be due to invalid IL or missing references)
533 //IL_0033: Unknown result type (might be due to invalid IL or missing references)
534 //IL_0035: Unknown result type (might be due to invalid IL or missing references)
535 //IL_003a: Unknown result type (might be due to invalid IL or missing references)
536 QuickDust(start, color).scale = 0.3f;
537 QuickDust(end, color).scale = 0.3f;
538 float num = 1f / splits;
539 for (float num2 = 0f; num2 < 1f; num2 += num)
540 {
541 QuickDust(Vector2.Lerp(start, end, num2), color).scale = 0.3f;
542 }
543 }
Color color
A tinting to the color this dust is drawn. Works best with sprites with low saturation,...
Definition Dust.cs:74
static Dust QuickDust(int x, int y, Color color)
Definition Dust.cs:401

References Terraria.Dust.color, and Terraria.Dust.QuickDust().

Referenced by Terraria.StrayMethods.CheckArenaScore().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: