C# Class WaveEngine.Components.Particles.Particle

Class that holds the information of a particle.
Mostrar archivo 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_oe property

Whether the particle is alive.
public bool Alive
return bool

Angle public_oe property

Angle of the particle.
public float Angle
return float

Color public_oe property

Color of the particle.
public Color Color
return Color

CurrentColor public_oe property

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

CurrentIndex public_oe 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_oe property

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

Position public_oe property

Position of the particle.
public Vector3 Position
return Vector3

Size public_oe property

Size of the particle.
public float Size
return float

StartTime public_oe property

Time of birth.
public long StartTime
return long

TimeLife public_oe property

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

Velocity public_oe property

Velocity of the particle.
public Vector3 Velocity
return Vector3

VelocityRotation public_oe property

Rotation velocity of the particle.
public float VelocityRotation
return float