Interface IParticleSystemObserver ​
Namespace: ValveResourceFormat.Particles
Assembly: ValveResourceFormat.dll
Watches a simulated particle system so a drawing layer can keep up with it. The simulation holds one per system and draws nothing itself, which is what lets it run without a graphics backend.
csharp
public interface IParticleSystemObserverMethods ​
OnFrameSimulated(ParticleCollection, ParticleSystemState) ​
Called after the system finishes a simulated frame, once per substep, and never during a pre-simulation burst.
csharp
void OnFrameSimulated(ParticleCollection particles, ParticleSystemState state)Parameters ​
particles ParticleCollection
The system's live particles.
state ParticleSystemState
The system's render state.

