Class TFB_Material

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TFB_Material = class(TObject)

Description

Material data

Hierarchy

Overview

Fields

Protected FIdent: String;
Protected FScaleFact: Single;

Methods

Public constructor Create(AIdent: String);
Public procedure ApplyCharacteristics(AParticle: Pointer); virtual;

Properties

Public property Identification: String read FIdent write FIdent;
Public property ScaleFactor: Single read FScaleFact write FScaleFact;

Description

Fields

Protected FIdent: String;

Can be used for later identification

Protected FScaleFact: Single;

Friction (precental speed loss per collision)

Methods

Public constructor Create(AIdent: String);

Class constructor.

Parameters
AIdent
Material identification string
Public procedure ApplyCharacteristics(AParticle: Pointer); virtual;

For internal use. FireBlade does not implement a realistic friction model by default. The velocity of a particle is scaled by the two scalefactors (1-factor so 1 means highest friction) of the contacting materials. If a realistic model is required, it is possible to override this method in an ancestor class and implement it there.

Properties

Public property Identification: String read FIdent write FIdent;

Identification string.

Public property ScaleFactor: Single read FScaleFact write FScaleFact;

Basic scaling vector.

See also
TFB_Material.ApplyCharacteristics

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