Creates a particle emitter at the given location in world coordinates.
constructor Create(const Owner: TAgkObject; const X: Single; const Y: Single); overload;
Parameters |
Description |
const Owner: TAgkObject |
the owner of the new particle emitter (eg. a TAgkScene object). |
const X: Single |
The X coordinate to position this emitter. |
const Y: Single |
The Y coordinate to position this emitter. |
Particle emitters create a flow of small sprites that last for a fixed amount of time before disappearing. The particles can be influenced by forces during their life using AddForce. They can also change color over time using AddColorKeyFrame.
Particles cannot be modified individually and behave as a group using the same texture and depth. This allows the AGK to draw them more efficiently than a similar number of normal sprites.
TAgkParticleEmitter
Copyright (c) 2012. All rights reserved.
|