Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RpPrtStdEmitter Struct Reference
[RpPrtStd]

Collaboration diagram for RpPrtStdEmitter:
Collaboration graph

Data Fields

RpPrtStdEmitter *  next
RwUInt32  flag
RpAtomic atomic
RpPrtStdEmitterClass emtClass
RwInt32  prtActive
RwInt32  prtBatchMaxPrt
RpPrtStdParticleClass prtClass
RpPrtStdParticleBatch inactiveBatch
RpPrtStdParticleBatch activeBatch
RwReal  boundingSphere

Detailed Description

A structure repsenting the mandatory data set for any emitter. Each emitter contains information of itself and its particles, via the emitter class and particle class respectively. It also contains the list of particles, in batches, it had emitted. Optional data are stored immediately after the mandatory set. The contents of the optional data are described in the emitter class's property table. The offset from the property table are from the start of the emitter.

The type of particles emitted are given by the particle class. Each emitter may have only emitter class and particle class and these should not be changed during the lifetime of the emitter and its particles. The emitter maintains two lists of particle batches, an acitive list, contain still active particles, and an inactive list. The maximum number of particles in each batch is given by the prtBatchMaxPrt field.


Field Documentation

RpPrtStdParticleBatch * activeBatch
 

Circular linked list of active particle batches

RpAtomic* atomic
 

Pointer to emitter's parent atomic

RwReal boundingSphere
 

Emitter's bounding sphere.

RpPrtStdEmitterClass* emtClass
 

Pointer the emitter's class

RwUInt32 flag
 

Emitter's property flag

RpPrtStdParticleBatch* inactiveBatch
 

Circular linked list of inactive particle batches

RpPrtStdEmitter* next
 

Pointer to the next emitter

RwInt32 prtActive
 

Number of particles emitted

RwInt32 prtBatchMaxPrt
 

Maximum number of particles per batch

RpPrtStdParticleClass* prtClass
 

Pointer to the particle's class


Criterion Software © 1993-2003 Criterion Software Limited. All rights reserved. Built Tue Apr 22 12:46:06 2003. Send Feedback
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)