Class TFBU_FaceEmitter

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TFBU_FaceEmitter = class(TFBU_CustomEmitter)

Description

Face Emitter, emits particles on a face

Hierarchy

Overview

Methods

Public procedure Refill; override;
Public procedure Reset; override;
Public procedure FaceBegin(AMode: Cardinal);
Public procedure FaceVertex(x, y, z: Single); overload;
Public procedure FaceVertex(ARef: Pointer); overload;
Public procedure FaceEnd;

Properties

Public property TotalArea: Single read FTotalArea;
Public property UseFaceMatrix: Boolean read FUseFaceMatrix write FUseFaceMatrix;

Description

Methods

Public procedure Refill; override;
 
See also
TFBU_CustomEmitter.Refill
Public procedure Reset; override;
 
See also
TFBU_CustomEmitter.Reset
Public procedure FaceBegin(AMode: Cardinal);

Inits the vertex interpretation.

Parameters
AMode
The way the vertices shall be interpretated
See also
FB_FACEMODE_TRIANGLES
FB_FACEMODE_TRIANGLE_STRIP
FB_FACEMODE_QUADS
FB_FACEMODE_TRIANGLE_FAN
Public procedure FaceVertex(x, y, z: Single); overload;

Adds and interpretates a vertex at the given position.

Public procedure FaceVertex(ARef: Pointer); overload;

Adds and interpretates a vertex at the given position. the position.

Parameters
ARef
Pointer to a sequence of three Single values in xyz format, which represent
Public procedure FaceEnd;

Resets the values for vertex interpretation.

Properties

Public property TotalArea: Single read FTotalArea;

The total surface area of the emitter.

Public property UseFaceMatrix: Boolean read FUseFaceMatrix write FUseFaceMatrix;

If true, the rotation matrix of the face is used to rotate the velocity vector. For example the velocity vector (0, 1, 0) would always be orthogonal to the face.


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