ParticleSystem.MainModule

csharp
public readonly struct MainModule

Namespace NodeWorld.Flux.

The main module of the particle system (constant values).

Properties

startColor

csharp
public Color startColor { get; set; }

Color of the new particles (a constant).

startSize

csharp
public float startSize { get; set; }

Size of the new particles (a constant).

startSpeed

csharp
public float startSpeed { get; set; }

Speed of the new particles (a constant).

startLifetime

csharp
public float startLifetime { get; set; }

Lifetime of the new particles, in seconds (a constant).

simulationSpeed

csharp
public float simulationSpeed { get; set; }

Speed of the whole simulation (1: normal).

gravityModifier

csharp
public float gravityModifier { get; set; }

How much gravity pulls the particles (0: none).

loop

csharp
public bool loop { get; set; }

The system starts again when its duration ends.

maxParticles

csharp
public int maxParticles { get; set; }

The most particles alive at once.