C# Class Terraria.Dust

Mostra file Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
active bool
alpha int
color Color
customData object
dCount float
fadeIn float
firstFrame bool
frame Microsoft.Xna.Framework.Rectangle
lavaBubbles int
noGravity bool
noLight bool
position Vector2
rotation float
scale float
shader ArmorShaderData
type int
velocity Vector2

Public Methods

Method Description
CloneDust ( Dust rf ) : Dust
CloneDust ( int dustIndex ) : Dust
GetAlpha ( Color newColor ) : Color
GetColor ( Color newColor ) : Color
NewDust ( Vector2 Position, int Width, int Height, int Type, float SpeedX = 0.0f, float SpeedY = 0.0f, int Alpha, Color newColor = default(Color), float Scale = 1f ) : int
QuickDust ( Point tileCoords, Color color ) : Dust
QuickDust ( Vector2 pos, Color color ) : Dust
QuickDustLine ( Vector2 start, Vector2 end, float splits, Color color ) : void
UpdateDust ( ) : void
dustWater ( ) : int

Method Details

CloneDust() public static method

public static CloneDust ( Dust rf ) : Dust
rf Dust
return Dust

CloneDust() public static method

public static CloneDust ( int dustIndex ) : Dust
dustIndex int
return Dust

GetAlpha() public method

public GetAlpha ( Color newColor ) : Color
newColor Color
return Color

GetColor() public method

public GetColor ( Color newColor ) : Color
newColor Color
return Color

NewDust() public static method

public static NewDust ( Vector2 Position, int Width, int Height, int Type, float SpeedX = 0.0f, float SpeedY = 0.0f, int Alpha, Color newColor = default(Color), float Scale = 1f ) : int
Position Vector2
Width int
Height int
Type int
SpeedX float
SpeedY float
Alpha int
newColor Color
Scale float
return int

QuickDust() public static method

public static QuickDust ( Point tileCoords, Color color ) : Dust
tileCoords Point
color Color
return Dust

QuickDust() public static method

public static QuickDust ( Vector2 pos, Color color ) : Dust
pos Vector2
color Color
return Dust

QuickDustLine() public static method

public static QuickDustLine ( Vector2 start, Vector2 end, float splits, Color color ) : void
start Vector2
end Vector2
splits float
color Color
return void

UpdateDust() public static method

public static UpdateDust ( ) : void
return void

dustWater() public static method

public static dustWater ( ) : int
return int

Property Details

active public_oe property

public bool active
return bool

alpha public_oe property

public int alpha
return int

color public_oe property

public Color color
return Color

customData public_oe property

public object customData
return object

dCount public_oe static_oe property

public static float dCount
return float

fadeIn public_oe property

public float fadeIn
return float

firstFrame public_oe property

public bool firstFrame
return bool

frame public_oe property

public Rectangle,Microsoft.Xna.Framework frame
return Microsoft.Xna.Framework.Rectangle

lavaBubbles public_oe static_oe property

public static int lavaBubbles
return int

noGravity public_oe property

public bool noGravity
return bool

noLight public_oe property

public bool noLight
return bool

position public_oe property

public Vector2 position
return Vector2

rotation public_oe property

public float rotation
return float

scale public_oe property

public float scale
return float

shader public_oe property

public ArmorShaderData shader
return ArmorShaderData

type public_oe property

public int type
return int

velocity public_oe property

public Vector2 velocity
return Vector2