Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.Dust Class Reference

Public Member Functions

Color GetAlpha (Color newColor)
 
Color GetColor (Color newColor)
 
float GetVisualRotation ()
 
float GetVisualScale ()
 

Static Public Member Functions

static Dust NewDustPerfect (Vector2 Position, int Type, Vector2? Velocity=null, int Alpha=0, Color newColor=default(Color), float Scale=1f)
 
static Dust NewDustDirect (Vector2 Position, int Width, int Height, int Type, float SpeedX=0f, float SpeedY=0f, int Alpha=0, Color newColor=default(Color), float Scale=1f)
 
static int NewDust (Vector2 Position, int Width, int Height, int Type, float SpeedX=0f, float SpeedY=0f, int Alpha=0, Color newColor=default(Color), float Scale=1f)
 
static Dust CloneDust (int dustIndex)
 
static Dust CloneDust (Dust rf)
 
static Dust QuickDust (int x, int y, Color color)
 
static Dust QuickDust (Point tileCoords, Color color)
 
static void QuickBox (Vector2 topLeft, Vector2 bottomRight, int divisions, Color color, Action< Dust > manipulator)
 
static void DrawDebugBox (Rectangle itemRectangle)
 
static Dust QuickDust (Vector2 pos, Color color)
 
static Dust QuickDustSmall (Vector2 pos, Color color, bool floorPositionValues=false)
 
static void QuickDustLine (Vector2 start, Vector2 end, float splits, Color color)
 
static int dustWater ()
 
static void UpdateDust ()
 

Public Attributes

int dustIndex
 
Vector2 position
 
Vector2 velocity
 
float fadeIn
 
bool noGravity
 
float scale
 
float rotation
 
bool noLight
 
bool noLightEmittence
 
bool active
 
int type
 
Color color
 
int alpha
 
Rectangle frame
 
ArmorShaderData shader
 
object customData
 
bool firstFrame
 

Static Public Attributes

static float dCount
 
static int lavaBubbles
 
static int SandStormCount
 

Detailed Description

Definition at line 10 of file Dust.cs.


The documentation for this class was generated from the following file: