![]() |
Skylicht Engine
|
System used by CSubGroup to synchronize child particles with their parent particles. More...
#include <ParticleSystem/Particles/Systems/CParentRelativeSystem.h>
Public Member Functions | |
| virtual void | update (CParticle *particles, int num, CGroup *group, float dt) |
| Implementation: performs relative movement and parameter syncing. | |
| void | syncParams (bool life, bool color) |
| Configures synchronization parameters. | |
| 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. | |
Protected Attributes | |
| bool | m_syncLife |
| If true, child life is synced to parent life. | |
| bool | m_syncColor |
| If true, child color is synced to parent color. | |
| Protected Attributes inherited from Skylicht::Particle::ISystem | |
| bool | m_enable |
| Whether the system is active. | |
System used by CSubGroup to synchronize child particles with their parent particles.
Applies parent movement and optionally copies age/life/color parameters.
|
virtual |
Implementation: performs relative movement and parameter syncing.
Implements Skylicht::Particle::ISystem.