NDK class that represents the component for a group of particles.
More...
Inherits Ndk::Component< ComponentType >, Nz::ParticleGroup, and Nz::HandledObject< T >.
|
static ComponentIndex | componentIndex |
|
NDK class that represents the component for a group of particles.
◆ ParticleGroupComponent() [1/2]
Ndk::ParticleGroupComponent::ParticleGroupComponent |
( |
unsigned int |
maxParticleCount, |
|
|
Nz::ParticleLayout |
layout |
|
) |
| |
|
inline |
Constructs a ParticleGroupComponent object with a maximal number of particles and a layout.
- Parameters
-
maxParticleCount | Maximum number of particles to generate |
layout | Enumeration for the layout of data information for the particles |
◆ ParticleGroupComponent() [2/2]
Constructs a ParticleGroupComponent object with a maximal number of particles and a particle declaration.
- Parameters
-
maxParticleCount | Maximum number of particles to generate |
declaration | Data information for the particles |
◆ AddEmitter()
void Ndk::ParticleGroupComponent::AddEmitter |
( |
Entity * |
emitter | ) |
|
|
inline |
Adds an emitter to the particles.
- Parameters
-
emitter | Emitter for the particles |
◆ RemoveEmitter()
void Ndk::ParticleGroupComponent::RemoveEmitter |
( |
Entity * |
emitter | ) |
|
|
inline |
Removes an emitter to the particles.
- Parameters
-
emitter | Emitter for the particles to remove |
The documentation for this class was generated from the following files:
- SDK/include/NDK/Components/ParticleGroupComponent.hpp
- SDK/include/NDK/Components/ParticleGroupComponent.inl
- SDK/src/NDK/Components/ParticleGroupComponent.cpp