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

ECS system responsible for updating particle positions and calculating bounding boxes. More...

#include <ParticleSystem/CParticleGroupSystem.h>

Inheritance diagram for Skylicht::Particle::CParticleGroupSystem:
Skylicht::IEntitySystem

Public Member Functions

virtual void beginQuery (CEntityManager *entityManager)
 ECS hook: establishes entity filters.
virtual void onQuery (CEntityManager *entityManager, CEntity **entities, int numEntity)
 ECS hook: processes filtered entities to update bounding boxes.
virtual void init (CEntityManager *entityManager)
 ECS hook: initialization.
virtual void update (CEntityManager *entityManager)
 ECS hook: main logic for particle movement and lifecycle.
Public Member Functions inherited from Skylicht::IEntitySystem
virtual bool isRenderSystem ()
void setSystemOrder (int order)
int getSystemOrder ()

Protected Attributes

CEntityGroupm_group
 Cached entity group filtering for CParticleBufferData.
core::matrix4 m_transform
 Internal scratchpad matrix.
Protected Attributes inherited from Skylicht::IEntitySystem
int m_systemOrder

Detailed Description

ECS system responsible for updating particle positions and calculating bounding boxes.

This system processes entities with CParticleBufferData and updates the particle groups. It also aggregates individual group bounding boxes into the entity's CCullingBBoxData.

Member Function Documentation

◆ beginQuery()

virtual void Skylicht::Particle::CParticleGroupSystem::beginQuery ( CEntityManager * entityManager)
virtual

ECS hook: establishes entity filters.

Implements Skylicht::IEntitySystem.

◆ init()

virtual void Skylicht::Particle::CParticleGroupSystem::init ( CEntityManager * entityManager)
virtual

ECS hook: initialization.

Implements Skylicht::IEntitySystem.

◆ onQuery()

virtual void Skylicht::Particle::CParticleGroupSystem::onQuery ( CEntityManager * entityManager,
CEntity ** entities,
int numEntity )
virtual

ECS hook: processes filtered entities to update bounding boxes.

Implements Skylicht::IEntitySystem.

◆ update()

virtual void Skylicht::Particle::CParticleGroupSystem::update ( CEntityManager * entityManager)
virtual

ECS hook: main logic for particle movement and lifecycle.

Implements Skylicht::IEntitySystem.


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