Class TParticleAffector

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TParticleAffector = class(TAttributeExchangingObject)

Description

A particle affector modifies particles.

Hierarchy

Overview

Methods

Public procedure Affect(Now: LongWord; Particles: PParticle; Count: LongWord); overload; inline;
Public procedure Affect(Now: LongWord; Particles: array of TParticle); overload;

Properties

Public property AffectorType: TParticleAffectorType read GetType;
Public property Enabled: Boolean read GetEnabled write SetEnabled;

Description

Methods

Public procedure Affect(Now: LongWord; Particles: PParticle; Count: LongWord); overload; inline;

Affects an array of particles.

Parameters
Now
Current time. (Same as ITimer::getTime() would return)
Particles
Pointer to an array of particles.
Count
Number of particles in the array.
Public procedure Affect(Now: LongWord; Particles: array of TParticle); overload;

Affects an array of particles.

Parameters
Now
Current time. (Same as ITimer::getTime() would return)
Particles
Array of particles.

Properties

Public property AffectorType: TParticleAffectorType read GetType;

The affector type.

Public property Enabled: Boolean read GetEnabled write SetEnabled;

Specifies whether or not the affector is currently enabled.


Generated by PasDoc 0.12.1 on 2012-09-14 17:32:22