# Set3DParticlesLife

## Description

Sets the life of particles in seconds once they have been emitted. After particles have been alive for the given number of seconds they will disappear. This is one of the two values that affects the number of particles generated, the other being Set3DParticlesFrequency. The maximum number of particles that can be on screen at any one time is freq*life, with freq being the number of particles emitted per second. This value is independent of frame rate.

## Definition

Set3DParticlesLife( ID, time )

void agk::Set3DParticlesLife( UINT ID, float time )

## Parameters

- ID - The ID of the emitter to modify.
- time - The time in seconds that a particle is visible.