Description | Hierarchy | Fields | Methods | Properties |
type TAdStdParticle = class(TAdParticle)
A standard particle class that implements the behaviour of a base particle. This classes uses point sprites for drawing the particles. Operations like scaling or rotation are not availale in this particle class.
![]() |
constructor Create(ASystem: TAdParticleSystem); override; |
![]() |
destructor Destroy; override; |
![]() |
class function VerticesPerParticle: integer; override; |
![]() |
class function IndicesPerParticle: integer; override; |
![]() |
class function DrawMode: TAd2DDrawMode; override; |
![]() |
procedure SetupMovement(AX, AY: integer); override; |
![]() |
procedure Assign(APart: TAdParticle); override; |
![]() |
procedure Move(ATimeGap: double); override; |
![]() |
procedure StoreData(AData: PAdParticleData); override; |
![]() |
procedure StoreMinMax(AData: PAdParticleData); override; |
![]() |
function SaveToXML(ARoot: TAdSimpleXMLElems):TAdSimpleXMLElem; override; |
![]() |
procedure LoadFromXML(ARoot: TAdSimpleXMLElem); override; |
![]() |
property XVelocity: TAdParticleParameter read FXVelocity write FXVelocity; |
![]() |
property YVelocity: TAdParticleParameter read FYVelocity write FYVelocity; |
![]() |
property ZVelocity: TAdParticleParameter read FZVelocity write FZVelocity; |
![]() |
property LifeTime: double read FMaxLifeTime write FMaxLifeTime; |
![]() |
property LifeTimeVariation: double read FLifeTimeVariation write FLifeTimeVariation; |
![]() |
property CreationAngle: integer read FCreationAngle write FCreationAngle; |
![]() |
property CreationAngleRange: integer read FCreationAngleRange write FCreationAngleRange; |
![]() |
constructor Create(ASystem: TAdParticleSystem); override; |
![]() |
destructor Destroy; override; |
![]() |
class function VerticesPerParticle: integer; override; |
![]() |
class function IndicesPerParticle: integer; override; |
![]() |
class function DrawMode: TAd2DDrawMode; override; |
![]() |
procedure SetupMovement(AX, AY: integer); override; |
![]() |
procedure Assign(APart: TAdParticle); override; |
![]() |
procedure Move(ATimeGap: double); override; |
![]() |
procedure StoreData(AData: PAdParticleData); override; |
![]() |
procedure StoreMinMax(AData: PAdParticleData); override; |
![]() |
function SaveToXML(ARoot: TAdSimpleXMLElems):TAdSimpleXMLElem; override; |
![]() |
procedure LoadFromXML(ARoot: TAdSimpleXMLElem); override; |
![]() |
property XVelocity: TAdParticleParameter read FXVelocity write FXVelocity; |
Describes how fast the particle should move on the X-Axis. Unit: Pixel per second |
![]() |
property YVelocity: TAdParticleParameter read FYVelocity write FYVelocity; |
Describes how fast the particle should move on the Y-Axis. Unit: Pixel per second |
![]() |
property ZVelocity: TAdParticleParameter read FZVelocity write FZVelocity; |
Describes how fast the particle should move on the Z-Axis. Unit: Pixel per second |
![]() |
property LifeTime: double read FMaxLifeTime write FMaxLifeTime; |
Describes how long the particle should live. Unit: seconds |
![]() |
property LifeTimeVariation: double read FLifeTimeVariation write FLifeTimeVariation; |
Use this value to variate the life time. Unit: percent. Range: 0-100 |
![]() |
property CreationAngle: integer read FCreationAngle write FCreationAngle; |
The angle the particles should be emitted from. Unit: degrees. Range: 0-360 |