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

◆ GetVisualScale()

float Terraria.Dust.GetVisualScale ( )
inline

Definition at line 3398 of file Dust.cs.

3399 {
3400 if (type == 304)
3401 {
3402 return 1f;
3403 }
3404 return scale;
3405 }
int type
The Dust ID of this dust. The Dust ID will be equal to either a T:Terraria.ID.DustID entry or M:Terra...
Definition Dust.cs:69
float scale
The draw scale of the dust. Many dust rely on scale to determine when it should despawn....
Definition Dust.cs:50

References Terraria.Dust.scale, and Terraria.Dust.type.