Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::Particle::CParticleSystem Class Reference

Core particle update system. More...

#include <ParticleSystem/Particles/Systems/CParticleSystem.h>

Inheritance diagram for Skylicht::Particle::CParticleSystem:
Skylicht::Particle::ISystem

Public Member Functions

void updateLifeTime (CParticle *particles, int num, CGroup *group, float dt)
 Specialized update that only processes particle age/life (used when group is hidden).
virtual void update (CParticle *particles, int num, CGroup *group, float dt)
 Implementation: standard particle physics and parameter animation.
Public Member Functions inherited from Skylicht::Particle::ISystem
void setEnable (bool b)
 Enables or disables the system.
bool isEnable ()
 Checks if the system is enabled.

Additional Inherited Members

Protected Attributes inherited from Skylicht::Particle::ISystem
bool m_enable
 Whether the system is active.

Detailed Description

Core particle update system.

Handles gravity, friction, life time, and interpolation of CModel parameters for every group.

Member Function Documentation

◆ update()

virtual void Skylicht::Particle::CParticleSystem::update ( CParticle * particles,
int num,
CGroup * group,
float dt )
virtual

Implementation: standard particle physics and parameter animation.

Implements Skylicht::Particle::ISystem.


The documentation for this class was generated from the following file: