Table of Contents

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
object
CpuParticleSystem
Implements
Inherited Members

Constructors

CpuParticleSystem()

Creates a new particle system.

public CpuParticleSystem()

Properties

LocalSpace

Controls whether particles are tracked relative to the particle system instead of world space.

public bool LocalSpace { get; set; }

Property Value

bool

Remarks

When true, moving the particle system moves all existing particles along with it.

Preset

The configuration of this particle system.

[Browsable(false)]
public required CpuParticlePreset Preset { get; set; }

Property Value

CpuParticlePreset

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()