packed record TFB_ParticleData

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TFB_ParticleData = packed record

Description

Contains all data used to calculate physics and visual appereance of a particle.

Overview

Fields

Skeleton: TFB_Skeleton;
TextureTile: Array[0..1] of Cardinal;
AppearanceModel: TFB_AppearanceModel;
ColorIndex: Integer;
CurrentColor: TFB_Vectorf4;
TexBlendAlpha: TFB_Vectorf2;
Position: TFB_Vectorf3;
LastPosition: TFB_Vectorf3;
Velocity: TFB_Vectorf3;
PermanentForce: TFB_Vectorf3;
MagnetForce: TFB_Vectorf3;
UserForce: TFB_Vectorf3;
AllAcceleration: TFB_Vectorf3;
Size: TFB_Vectorf2;
Mass: Single;
AirResistance: Single;
NormalContrast: Single;
Omega: Single;
Rotation: Single;
LifeSpan: Single;
RelativeAge: Single;
UserData: Pointer;
CalculatedEvent: TFB_NotifyEvent;
DestroyedEvent: TFB_NotifyEvent;
GravitatedEvent: TFB_GravitatedEvent;
CollidedEvent: TFB_CollidedEvent;
CollisionInformation: Array of TFB_CollisionInformation;
Material: TFB_Material;

Description

Fields

Skeleton: TFB_Skeleton;
 
TextureTile: Array[0..1] of Cardinal;
 
AppearanceModel: TFB_AppearanceModel;
 
ColorIndex: Integer;
 
CurrentColor: TFB_Vectorf4;

Current interpolated particle color.

TexBlendAlpha: TFB_Vectorf2;

Alpha values for smooth texture blending

Position: TFB_Vectorf3;
 
LastPosition: TFB_Vectorf3;

Position of the particle before last calculation.

Velocity: TFB_Vectorf3;

Position of the particle before last calculation.

PermanentForce: TFB_Vectorf3;

Position of the particle before last calculation.

MagnetForce: TFB_Vectorf3;

Position of the particle before last calculation.

UserForce: TFB_Vectorf3;

Non-persistent user force. May be used to implement user-specific physical things without abusing PermanentForce (for example bouyancy, realistic friction). It will be resetted to (0,0,0) before doing collision detection and fireing the calculated event, so it may be set there. FB_PHYSICSMODEL_REALISTIC must be used.

AllAcceleration: TFB_Vectorf3;

Current overall acceleration of the particle.

Size: TFB_Vectorf2;

Current particle size.

Mass: Single;
 
AirResistance: Single;
 
NormalContrast: Single;
 
Omega: Single;
 
Rotation: Single;

Current rotation angle (radians).

LifeSpan: Single;
 
RelativeAge: Single;

Current age from 0 to 1 (1 = death).

UserData: Pointer;
 
CalculatedEvent: TFB_NotifyEvent;

Called after the particle has been recalculated.

DestroyedEvent: TFB_NotifyEvent;

Called after the particle has been destroyed.

GravitatedEvent: TFB_GravitatedEvent;

Called after the particle has been gravitated.

CollidedEvent: TFB_CollidedEvent;

Called after the particle collided with a collision tree.

CollisionInformation: Array of TFB_CollisionInformation;

Used for internal calculation and thus should not be touched.

Material: TFB_Material;
 

Generated by PasDoc 0.11.0 on 2009-06-29 23:12:35