Class CpuParticleSystem
- Namespace
- AlphaFramework.World.Components
- Assembly
- AlphaFramework.World.dll
Represents a particle system whose particles are tracked by the CPU.
public class CpuParticleSystem : ParticleSystem, ICloneable
- Inheritance
-
objectCpuParticleSystem
- Implements
- Inherited Members
- Extension Methods
Properties
LocalSpace
Controls whether particles are tracked relative to the particle system instead of world space.
public bool LocalSpace { get; set; }
Property Value
Methods
Clone()
Creates a deep copy of this instance.
public override Render Clone()
Returns
CloneCpuParticleSystem()
Creates a deep copy of this CpuParticleSystem instance.
public CpuParticleSystem CloneCpuParticleSystem()
Returns
- CpuParticleSystem
The new copy of the CpuParticleSystem.
CloneFromTo(CpuParticleSystem, CpuParticleSystem)
Copies all members declared by CpuParticleSystem from one instance to another.
protected static void CloneFromTo(CpuParticleSystem from, CpuParticleSystem to)
Parameters
fromCpuParticleSystemtoCpuParticleSystem