#include <Particle.h>
Data Fields | |
time_t | msec |
time_t | frametime |
model::IModelPtr | modelPtr |
qtexture_t * | imagePtr |
std::string | model |
std::string | image |
int | blend |
int | style |
Vector2 | size |
Vector3 | scale |
Vector4 | color |
Vector3 | s |
Vector3 | origin |
Vector3 | offset |
Vector3 | angles |
Vector3 | lightColor |
float | lightIntensity |
float | lightSustain |
int | levelFlags |
int | skin |
IParticlePtr | children |
IParticlePtr | next |
IParticlePtr | parent |
ParticleDefinition | ctrl |
int | startTime |
int | frame |
int | endFrame |
float | fps |
float | lastFrame |
float | tps |
float | lastThink |
unsigned char | thinkFade |
unsigned char | frameFade |
float | t |
float | dt |
float | life |
int | rounds |
int | roundsCnt |
float | scrollS |
float | scrollT |
Vector3 | a |
Vector3 | v |
Vector3 | omega |
bool | physics |
bool | autohide |
bool | stayalive |
bool | weather |
Definition at line 135 of file Particle.h.
acceleration vector
Definition at line 181 of file Particle.h.
Definition at line 154 of file Particle.h.
only draw the particle if the current position is not higher than the current level (useful for weather particles)
Definition at line 185 of file Particle.h.
Definition at line 146 of file Particle.h.
list of children
Definition at line 162 of file Particle.h.
Definition at line 150 of file Particle.h.
Definition at line 166 of file Particle.h.
time increment for rendering this particle (delta time)
Definition at line 175 of file Particle.h.
Definition at line 168 of file Particle.h.
how many frames per second (animate)
Definition at line 169 of file Particle.h.
Definition at line 168 of file Particle.h.
unsigned char scripts::ParticleData::frameFade |
Definition at line 173 of file Particle.h.
Definition at line 138 of file Particle.h.
Definition at line 144 of file Particle.h.
Definition at line 141 of file Particle.h.
time (in seconds) when the think function was last executed (perhaps this can be used to delay or speed up particle actions).
Definition at line 170 of file Particle.h.
Definition at line 172 of file Particle.h.
Definition at line 158 of file Particle.h.
specifies how long a particle will be active (seconds)
Definition at line 176 of file Particle.h.
Definition at line 155 of file Particle.h.
Definition at line 156 of file Particle.h.
Definition at line 157 of file Particle.h.
Definition at line 143 of file Particle.h.
Definition at line 140 of file Particle.h.
time_t scripts::ParticleData::msec |
Definition at line 137 of file Particle.h.
next peer in list
Definition at line 163 of file Particle.h.
Definition at line 153 of file Particle.h.
the rotation vector for the particle (newAngles = oldAngles + frametime * omega)
Definition at line 183 of file Particle.h.
start position - set initial s position to get this value
Definition at line 152 of file Particle.h.
pointer to parent
Definition at line 164 of file Particle.h.
basic physics
Definition at line 184 of file Particle.h.
specifies how many rounds a particle will be active
Definition at line 177 of file Particle.h.
Definition at line 178 of file Particle.h.
current position
Definition at line 151 of file Particle.h.
Definition at line 149 of file Particle.h.
Definition at line 179 of file Particle.h.
Definition at line 180 of file Particle.h.
Definition at line 148 of file Particle.h.
model skin to use for this particle
Definition at line 160 of file Particle.h.
Definition at line 167 of file Particle.h.
used for physics particles that hit the ground
Definition at line 188 of file Particle.h.
Definition at line 147 of file Particle.h.
float scripts::ParticleData::t |
time that the particle has been active already
Definition at line 174 of file Particle.h.
unsigned char scripts::ParticleData::thinkFade |
Definition at line 173 of file Particle.h.
think per second - call the think function tps times each second, the first call at 1/tps seconds
Definition at line 171 of file Particle.h.
velocity vector
Definition at line 182 of file Particle.h.
used to identify weather particles (can be switched off via cvar cl_particleweather)
Definition at line 189 of file Particle.h.