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
Initializes a new instance of the Particle class.
public Particle()

Properties

Color

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

DisplayBitmapIndex

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

Index

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

Location

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

ParentSystem

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

Size

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

Methods

Update

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