| Description | Hierarchy | Fields | Methods | Properties |
type TParticleSprite = class(TSprite)
A sprite wrapping around the particle system
![]() |
constructor Create(AParent:TSprite); override; |
![]() |
destructor Destroy; override; |
![]() |
procedure Emit(ACount:integer); |
![]() |
property PartSys: TAdParticleSystem read FPartSys; |
![]() |
property EmissionCount: integer read FEmissionCount write SetEmissionCount; |
![]() |
property Image: TAdImage read FImage write SetImage; |
![]() |
property EmissionX: double read FEmissionX write FEmissionX; |
![]() |
property EmissionY: double read FEmissionY write FEmissionY; |
![]() |
property AutoDeath: boolean read FAutoDeath write FAutoDeath; |
![]() |
constructor Create(AParent:TSprite); override; |
|
Creates an instance of TParticleSprite | |
![]() |
destructor Destroy; override; |
|
Destroys the instance of TParticleSprite | |
![]() |
procedure Emit(ACount:integer); |
|
Emits an amout of particles | |
![]() |
property PartSys: TAdParticleSystem read FPartSys; |
|
Returns the particle system the sprite uses. Read only. | |
![]() |
property EmissionCount: integer read FEmissionCount write SetEmissionCount; |
|
If the property is not zero, n particles may be created | |
![]() |
property Image: TAdImage read FImage write SetImage; |
|
The Image the particle system uses | |
![]() |
property AutoDeath: boolean read FAutoDeath write FAutoDeath; |
|
If true (preset), the sprite may automaticly free itsself, when there are no particles. | |