Class CpuParticleSystem
- Namespace
- OmegaEngine.Graphics.Renderables
- Assembly
- OmegaEngine.dll
A particle system whose particles are tracked by the CPU.
public class CpuParticleSystem : PositionableRenderable, IDisposable, IPositionable
- Inheritance
-
CpuParticleSystem
- Implements
- Inherited Members
- Extension Methods
Constructors
CpuParticleSystem(CpuParticlePreset)
Creates a new particle system.
public CpuParticleSystem(CpuParticlePreset preset)
Parameters
preset
CpuParticlePresetThe initial configuration of the particle system.
Properties
Preset
The configuration of this particle system.
[Browsable(false)]
public CpuParticlePreset Preset { get; set; }
Property Value
Velocity
The base velocity of all particles spawned by this particle system
public Vector3 Velocity { get; set; }
Property Value
- Vector3
Methods
OnDispose()
Hook that is called when the object needs to dispose its internal resources.
protected override void OnDispose()
OnEngineSet()
Hook that is called when Engine is set for the first time.
protected override void OnEngineSet()