Particle

References
public class Particle
Represents a simple particle.

This base class only defines position and display properties (size, color, bitmap id). You will most likely create a class that derives from this particle class to perform some sort of physical simulation (movement over time or frames).

Constructors

Particle

#Since v5.0
public Particle()
Initializes a new instance of the Particle class.

Properties

Color

#Since v5.0
public Color Color { get; set; }

DisplayBitmapIndex

#Since v5.0
public int DisplayBitmapIndex { get; set; }

Index

#Since v5.0
public int Index { get; }
Index in ParentSystem for this Particle. Can change when the particle system is modified.

Location

#Since v5.0
public Point3d Location { get; set; }
3d Location of the Particle.

ParentSystem

#Since v5.0
public ParticleSystem ParentSystem { get; }
Gets the parent particle system of this particle.

Size

#Since v5.0
public float Size { get; set; }

Methods

Update

#Since v5.0
public virtual void Update()
Base class implementation does nothing.