#include <ParticleSys.h>
Inherits Snapshot.
Inherited by Particle.
Public Member Functions | |
| ParticleInfo (void) | |
Public Member Functions inherited from Snapshot | |
| Snapshot (void) | |
| ~Snapshot (void) | |
Public Attributes | |
| Coord3D | m_vel |
| initial velocity | |
| Coord3D | m_pos |
| initial position | |
| Coord3D | m_emitterPos |
| position of the emitter | |
| Real | m_velDamping |
| velocity damping coefficient | |
| Real | m_angleZ |
| initial angle around Z axis | |
| Real | m_angularRateZ |
| initial angle around Z axis | |
| Real | m_angularDamping |
| angular velocity damping coefficient | |
| UnsignedInt | m_lifetime |
| lifetime of this particle | |
| Real | m_size |
| size of the particle | |
| Real | m_sizeRate |
| rate of change of size | |
| Real | m_sizeRateDamping |
| damping of size change rate | |
| Keyframe | m_alphaKey [MAX_KEYFRAMES] |
| RGBColorKeyframe | m_colorKey [MAX_KEYFRAMES] |
| Real | m_colorScale |
| color "scaling" coefficient | |
| Real | m_windRandomness |
| multiplier for wind randomness per particle | |
| Bool | m_particleUpTowardsEmitter |
| correspond to the direction of the emitter. | |
Protected Member Functions | |
| virtual void | crc (Xfer *xfer) |
| virtual void | xfer (Xfer *xfer) |
| virtual void | loadPostProcess (void) |
This structure is filled out and passed to the constructor of a Particle to initialize it
Definition at line 117 of file ParticleSys.h.
| ParticleInfo::ParticleInfo | ( | void | ) |
Definition at line 74 of file ParticleSys.cpp.
|
protectedvirtual |
|
protectedvirtual |
Load post process
Implements Snapshot.
Reimplemented in Particle.
Definition at line 187 of file ParticleSys.cpp.
|
protectedvirtual |
| Keyframe ParticleInfo::m_alphaKey[MAX_KEYFRAMES] |
Definition at line 139 of file ParticleSys.h.
| Real ParticleInfo::m_angleZ |
initial angle around Z axis
Definition at line 129 of file ParticleSys.h.
| Real ParticleInfo::m_angularDamping |
angular velocity damping coefficient
Definition at line 131 of file ParticleSys.h.
| Real ParticleInfo::m_angularRateZ |
initial angle around Z axis
Definition at line 130 of file ParticleSys.h.
| RGBColorKeyframe ParticleInfo::m_colorKey[MAX_KEYFRAMES] |
Definition at line 140 of file ParticleSys.h.
| Real ParticleInfo::m_colorScale |
color "scaling" coefficient
Definition at line 142 of file ParticleSys.h.
| Coord3D ParticleInfo::m_emitterPos |
position of the emitter
Definition at line 126 of file ParticleSys.h.
| UnsignedInt ParticleInfo::m_lifetime |
lifetime of this particle
Definition at line 133 of file ParticleSys.h.
| Bool ParticleInfo::m_particleUpTowardsEmitter |
correspond to the direction of the emitter.
if this is true, then the 0.0 Z rotation should actually
Definition at line 146 of file ParticleSys.h.
| Coord3D ParticleInfo::m_pos |
initial position
Definition at line 125 of file ParticleSys.h.
| Real ParticleInfo::m_size |
size of the particle
Definition at line 135 of file ParticleSys.h.
| Real ParticleInfo::m_sizeRate |
rate of change of size
Definition at line 136 of file ParticleSys.h.
| Real ParticleInfo::m_sizeRateDamping |
damping of size change rate
Definition at line 137 of file ParticleSys.h.
| Coord3D ParticleInfo::m_vel |
initial velocity
Definition at line 124 of file ParticleSys.h.
| Real ParticleInfo::m_velDamping |
velocity damping coefficient
Definition at line 127 of file ParticleSys.h.
| Real ParticleInfo::m_windRandomness |
multiplier for wind randomness per particle
Definition at line 144 of file ParticleSys.h.