ECS data structure holding particle groups for an entity.
More...
#include <ParticleSystem/CParticleBufferData.h>
|
|
void | clear () |
| | Clears all groups and sub-groups.
|
| CGroup * | createGroup () |
| | Creates a new top-level particle group.
|
| CGroup * | getGroupByName (const wchar_t *name) |
| | Finds a group by its name.
|
| CSubGroup * | createSubGroup (CGroup *group) |
| | Creates a new sub-group attached to a parent group.
|
| std::vector< CSubGroup * > | getSubGroup (CGroup *parent) |
| | Gets all sub-groups belonging to a specific parent.
|
| void | removeGroup (CGroup *group) |
| | Removes and deletes a top-level group and its sub-groups.
|
| void | removeSubGroup (CSubGroup *group) |
| | Removes and deletes a specific sub-group.
|
| void | bringToNext (CGroup *group, CGroup *target, bool behind) |
| | Reorders a group within the Groups list.
|
|
void | updateListGroup () |
| | Rebuilds the AllGroups flat list from Groups and SubGroups.
|
|
virtual bool | serializable (CMemoryStream *stream) |
|
virtual bool | deserializable (CMemoryStream *stream, int version) |
|
virtual const char * | getTypeName () |
|
virtual | ~IActivatorObject () |
| | Virtual destructor for polymorphic activator objects.
|
ECS data structure holding particle groups for an entity.
This data is managed by CParticleComponent and processed by CParticleGroupSystem and CParticleRenderer.
◆ bringToNext()
| void Skylicht::Particle::CParticleBufferData::bringToNext |
( |
CGroup * | group, |
|
|
CGroup * | target, |
|
|
bool | behind ) |
Reorders a group within the Groups list.
- Parameters
-
| group | The group to move. |
| target | The target group for positioning. |
| behind | If true, places it after the target; otherwise before. |
◆ createGroup()
| CGroup * Skylicht::Particle::CParticleBufferData::createGroup |
( |
| ) |
|
Creates a new top-level particle group.
- Returns
- Pointer to the new CGroup.
◆ createSubGroup()
| CSubGroup * Skylicht::Particle::CParticleBufferData::createSubGroup |
( |
CGroup * | group | ) |
|
Creates a new sub-group attached to a parent group.
- Parameters
-
- Returns
- Pointer to the new CSubGroup.
◆ getGroupByName()
| CGroup * Skylicht::Particle::CParticleBufferData::getGroupByName |
( |
const wchar_t * | name | ) |
|
Finds a group by its name.
- Parameters
-
| name | The name of the group. |
- Returns
- Pointer to CGroup if found, NULL otherwise.
◆ getSubGroup()
| std::vector< CSubGroup * > Skylicht::Particle::CParticleBufferData::getSubGroup |
( |
CGroup * | parent | ) |
|
Gets all sub-groups belonging to a specific parent.
- Parameters
-
- Returns
- Vector of CSubGroup pointers.
◆ removeGroup()
| void Skylicht::Particle::CParticleBufferData::removeGroup |
( |
CGroup * | group | ) |
|
Removes and deletes a top-level group and its sub-groups.
- Parameters
-
| group | The group to remove. |
◆ removeSubGroup()
| void Skylicht::Particle::CParticleBufferData::removeSubGroup |
( |
CSubGroup * | group | ) |
|
Removes and deletes a specific sub-group.
- Parameters
-
| group | The sub-group to remove. |
The documentation for this class was generated from the following file: