AGK for Pascal
TAgkParticleEmitter.Max Property

Sets the maximum number of particles that will be emitted.

property Max: Integer;

If this value is equal to -1 then the number is infinite. The emitter will keep a count of the number of particles it emits and stop when the limit is reached. To check if the emitter has reached its limit use MaxReached. To reset the count and make it start emitting again use ResetCount.

Copyright (c) 2012. All rights reserved.