C# Class WaveEngine.Components.Particles.Particle

Class that holds the information of a particle.
Show file Open project: WaveEngine/Components Class Usage Examples

Public Properties

Property Type Description
Alive bool
Angle float
Color Color
CurrentColor Color
CurrentIndex short
Life double
Position Vector3
Size float
StartTime long
TimeLife double
Velocity Vector3
VelocityRotation float

Property Details

Alive public property

Whether the particle is alive.
public bool Alive
return bool

Angle public property

Angle of the particle.
public float Angle
return float

Color public property

Color of the particle.
public Color Color
return Color

CurrentColor public property

Current color of the particle if the color is interpolated.
public Color CurrentColor
return Color

CurrentIndex public property

Current index of the particle color if the color is based on a list of possible colors.
public short CurrentIndex
return short

Life public property

Current life left in the particle.
public double Life
return double

Position public property

Position of the particle.
public Vector3 Position
return Vector3

Size public property

Size of the particle.
public float Size
return float

StartTime public property

Time of birth.
public long StartTime
return long

TimeLife public property

Total life time of the particle.
public double TimeLife
return double

Velocity public property

Velocity of the particle.
public Vector3 Velocity
return Vector3

VelocityRotation public property

Rotation velocity of the particle.
public float VelocityRotation
return float