ParticleSystem

References

Properties

BoundingBox

#Since v5.0
public BoundingBox BoundingBox { get; }

DisplaySizesInWorldUnits

#Since v5.0
public bool DisplaySizesInWorldUnits { get; set; }

DrawRequiresDepthSorting

#Since v5.0
public bool DrawRequiresDepthSorting { get; set; }

Methods

Add

#Since v5.0
public virtual bool Add(Particle particle)
Adds a particle to this ParticleSystem. A Particle can only be in one system at a time. If the Particle already exists in a different system, this function will return false. You should remove the particle from the other system first before adding it.
particle (Particle)A particle to be added.
true if this particle was added to the system or if is already in the system. false if the particle already exists in a different system.

Clear

#Since v5.0
public virtual void Clear()
Remove all Particles from this system.

GetEnumerator

#Since v5.0
public IEnumerator<Particle> GetEnumerator()

Remove

#Since v5.0
public virtual void Remove(Particle particle)
Removes a single particle from this system.
particle (Particle)The particle to be removed.
Explicit

IEnumerable.GetEnumerator

#Since v5.0
IEnumerator IEnumerable.GetEnumerator()

Update

#Since v5.0
public virtual void Update()
Calls Update on every particle in the system.