SetParticlesDepth

Description

Sets the depth of the particle emitter. This affects all particles, even those that are already visible. All particles are drawn at the same depth as the emitter so that the AGK can group them into a single draw call for faster drawing. The depth should be between 0 and 10000, with 0 being the front of the screen.

Definition

SetParticlesDepth( ID, depth )

Parameters