# Set3DParticlesFrequency

## Description

Sets the frequency of new particle generation. The freq value states how many particles should be produced per second, this is independent of frame rate. This is one of the two values that affects the number of particles generated, the other being SetParticlesLife. The maximum number of particles that can be on screen at any one time is freq*life, with life being the number of seconds a particle lives before it disappears.

## Definition

Set3DParticlesFrequency( ID, freq )

void agk::Set3DParticlesFrequency( UINT ID, float freq )

## Parameters

- ID - The ID of the emitter to modify.
- freq - The rate of new particle production in particles per second.