![]() |
Skylicht Engine
|
Component for adding ribbon/trail effects to particles. More...
#include <ParticleSystem/CParticleTrailComponent.h>
Public Member Functions | |
| virtual void | initComponent () |
| Initializes component data and trail renderer system. | |
| virtual void | updateComponent () |
| Updates trail transforms based on parent entity world matrix. | |
| virtual CObjectSerializable * | createSerializable () |
| Creates a serializable object for property editing. | |
| virtual void | loadSerializable (CObjectSerializable *object) |
| Loads trail settings from a serializable object. | |
| CParticleTrail * | addTrail (CGroup *group) |
| Adds a new trail effect linked to a specific particle group. | |
| Public Member Functions inherited from Skylicht::CComponentSystem | |
| const char * | getName () |
| virtual void | reset () |
| virtual void | startComponent () |
| virtual void | endUpdate () |
| virtual void | onEnable (bool b) |
| virtual void | onUpdateCullingLayer (u32 mask) |
| void | setEnable (bool b) |
| bool | isEnable () |
| CGameObject * | getGameObject () |
| void | setEnableSerializable (bool b) |
| bool | isSerializable () |
| void | addLinkComponent (CComponentSystem *comp) |
| void | removeAllLink () |
| Public Member Functions inherited from Skylicht::IActivatorObject | |
| virtual | ~IActivatorObject () |
| Virtual destructor for polymorphic activator objects. | |
Protected Attributes | |
| CParticleTrailData * | m_data |
| Cached pointer to the trail entity data. | |
| Protected Attributes inherited from Skylicht::CComponentSystem | |
| CGameObject * | m_gameObject |
| bool | m_enable |
| bool | m_serializable |
| std::vector< CComponentSystem * > | m_linkComponent |
Additional Inherited Members | |
| Static Public Member Functions inherited from Skylicht::CComponentSystem | |
| static int | useComponent (CComponentSystem *used) |
| Protected Member Functions inherited from Skylicht::CComponentSystem | |
| void | setOwner (CGameObject *obj) |
Component for adding ribbon/trail effects to particles.
Connects to a CParticleComponent to generate smooth trails based on particle movement.
| CParticleTrail * Skylicht::Particle::CParticleTrailComponent::addTrail | ( | CGroup * | group | ) |
Adds a new trail effect linked to a specific particle group.
| group | The target particle group. |
|
virtual |
Creates a serializable object for property editing.
Reimplemented from Skylicht::CComponentSystem.
|
virtual |
Initializes component data and trail renderer system.
Implements Skylicht::CComponentSystem.
|
virtual |
Loads trail settings from a serializable object.
Reimplemented from Skylicht::CComponentSystem.
|
virtual |
Updates trail transforms based on parent entity world matrix.
Implements Skylicht::CComponentSystem.