struct ecs::ParticleSimulation

ECS fragment storing particle simulation runtime state.

Public

Fields

Particles

SPtr<ParticleSet> Particles

Active particle data.

Lazily allocated on first simulation frame.

Time

float Time

Current simulation time.

Seed

u32 Seed

Random seed for deterministic simulation.

Rng

Random Rng

Random number generator seeded with .

State

Current simulation state.