Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RpPrtStdEmitterStandard Struct Reference
[RpPrtStd]

Collaboration diagram for RpPrtStdEmitterStandard:
Collaboration graph

Data Fields

RwInt32  seed
RwInt32  maxPrt
RwReal  currTime
RwReal  prevTime
RwV3d  force
RwV3d  emtPos
RwV3d  emtSize
RwReal  emtEmitGap
RwReal  emtEmitGapBias
RwReal  emtPrevEmitTime
RwReal  emtEmitTime
RwInt32  emtPrtEmit
RwInt32  emtPrtEmitBias
RwReal  prtInitVel
RwReal  prtInitVelBias
RwReal  prtLife
RwReal  prtLifeBias
RwV3d  prtInitDir
RwV3d  prtInitDirBias
RwV2d  prtSize
RwRGBA  prtColor
RwReal  prtDelta2DRotate
RwTexCoords  prtUV [4]
RwTexture texture
RwMatrix ltm

Detailed Description

A structure represent the set of properties for a basic emitter. The structure is stored as a single optional data in the emitter property table.

The basic emitter uses a 'time' variable to control particle emissions. A large time gap between emission can give pulse effects where as a small time gap produces a streaming effects. Particles can be emitted from a single point, line, area or a volume.

Particles emitted from an emitter are of the same type. An emitter cannot emit different types of particles. Once an emitter has reached its maximum number of particles, no further particles are emitted until some of the existing particles have died.

Most properties have a bias value to vary the property's value. This uses the seed field to give a degreee of randomness.


Field Documentation

RwReal currTime
 

Current timestamp for emitter

RwReal emtEmitGap
 

Time gap between emission

RwReal emtEmitGapBias
 

Time gap bias

RwReal emtEmitTime
 

Next particle emission time

RwV3d emtPos
 

Emitter position

RwReal emtPrevEmitTime
 

Previous particle emission time

RwInt32 emtPrtEmit
 

Number of particle emit per emission

RwInt32 emtPrtEmitBias
 

Particle emission bias

RwV3d emtSize
 

Emitter size. This is the volume where new particles are emitted

RwV3d force
 

External force applied to particles

RwMatrix* ltm
 

LTM to transform particle coordinates from local space to world space

RwInt32 maxPrt
 

Maximum number of active particles

RwReal prevTime
 

Previous timestamp for emitter

RwRGBA prtColor
 

Particle's color. This is ignored if each particle has its own colors.

RwReal prtDelta2DRotate
 

Particle's 2D rotation in radians. This is ignored if each particle has its own rotation.

RwV3d prtInitDir
 

Particle's initial direction

RwV3d prtInitDirBias
 

particle's initial direction bias

RwReal prtInitVel
 

Particle's initial speed

RwReal prtInitVelBias
 

Particle's initial speed bias

RwReal prtLife
 

Particle's duration

RwReal prtLifeBias
 

Particle's duration bias

RwV2d prtSize
 

Particle's size. This is ignored if each particle has its own size.

RwTexCoords prtUV[4]
 

Particle's texture coordindates

RwInt32 seed
 

Seed for random number generator

RwTexture* texture
 

Particle's texture


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