Class ParticleDeffinition
Represents the definition of a particle, including location, rotation, size, delay, last update time, speed, rotation speed, and particle color.
Inherited Members
Namespace: Genesis.Core.GameElements
Assembly: Genesis.dll
Syntax
public class ParticleDeffinition
Constructors
ParticleDeffinition()
Declaration
public ParticleDeffinition()
Properties
Delay
Gets or sets the delay before the particle becomes active.
Declaration
public int Delay { get; set; }
Property Value
Type | Description |
---|---|
int |
LastUpdate
Gets or sets the last update time of the particle.
Declaration
public long LastUpdate { get; set; }
Property Value
Type | Description |
---|---|
long |
Location
Gets or sets the location of the particle.
Declaration
public Vec3 Location { get; set; }
Property Value
Type | Description |
---|---|
Vec3 |
ParticleColor
Gets or sets the color of the particle.
Declaration
public float[] ParticleColor { get; set; }
Property Value
Type | Description |
---|---|
float[] |
Rotation
Gets or sets the rotation of the particle.
Declaration
public Vec3 Rotation { get; set; }
Property Value
Type | Description |
---|---|
Vec3 |
RotationSpeed
Gets or sets the rotation speed of the particle.
Declaration
public float RotationSpeed { get; set; }
Property Value
Type | Description |
---|---|
float |
Size
Gets or sets the size of the particle.
Declaration
public Vec3 Size { get; set; }
Property Value
Type | Description |
---|---|
Vec3 |
Speed
Gets or sets the speed of the particle.
Declaration
public float Speed { get; set; }
Property Value
Type | Description |
---|---|
float |