#include <particles.h>
◆ Particle()
◆ ~Particle()
◆ attachToBuffer()
◆ getBuffer()
◆ getParent()
◆ getTextureRef()
◆ isExpired()
bool Particle::isExpired |
( |
| ) |
const |
|
inline |
◆ step()
References CommonParticleParams::animation, ParticleParameters::bounce, BS, collisionMoveResult::collides, CommonParticleParams::collision_removal, CommonParticleParams::collisiondetection, collisionMoveSimple(), TileAnimationParams::determineParams(), ParticleParameters::drag, ClientEnvironment::getGameDef(), ParticleParameters::jitter, m_acceleration, m_animation_frame, m_animation_time, m_expiration, m_p, m_pos, m_texture, m_time, m_velocity, CommonParticleParams::object_collision, ParticleParamTypes::RangedParameter< T >::pickWithin(), ClientParticleTexRef::ref, ParticleParameters::size, TAT_NONE, ClientParticleTexRef::tex, TileAnimationParams::type, updateLight(), updateVertices(), vecAbsolute(), and vecSign().
◆ updateLight()
References blend_light(), ClientEnvironment::getClientMap(), Environment::getDayNightRatio(), ClientEnvironment::getGameDef(), MapNode::getLightBlend(), NodeDefManager::getLightingFlags(), Map::getNode(), CommonParticleParams::glow, LIGHT_SUN, m_base_color, m_p, m_pos, IGameDef::ndef(), and p().
Referenced by step().
◆ updateVertices()
References CommonParticleParams::animation, BS, TileAnimationParams::determineParams(), ClientEnvironment::getCameraOffset(), ClientEnvironment::getLocalPlayer(), TileAnimationParams::getTextureCoords(), ParticleBuffer::getVertices(), intToFloat(), m_animation_frame, m_buffer, m_expiration, m_index, m_p, m_pos, m_texpos, m_texsize, m_texture, m_time, ClientParticleTexRef::ref, ParticleParameters::size, TAT_NONE, ClientParticleTexRef::tex, TileAnimationParams::type, and CommonParticleParams::vertical.
Referenced by step().
◆ m_acceleration
v3f Particle::m_acceleration |
|
private |
◆ m_animation_frame
int Particle::m_animation_frame = 0 |
|
private |
◆ m_animation_time
float Particle::m_animation_time = 0.0f |
|
private |
◆ m_base_color
video::SColor Particle::m_base_color |
|
private |
◆ m_buffer
◆ m_expiration
float Particle::m_expiration |
|
private |
◆ m_index
◆ m_owned_texture
◆ m_p
◆ m_parent
◆ m_pos
◆ m_texpos
◆ m_texsize
◆ m_texture
◆ m_time
float Particle::m_time = 0.0f |
|
private |
◆ m_velocity
The documentation for this class was generated from the following files: