Castor3D 0.16.0
Multiplatform 3D engine
|
#include <ParticleUpdater.hpp>
Public Member Functions | |
C3D_API | ParticleUpdater (ParticleSystem const &system, ParticleDeclaration const &inputs, ParticleEmitterArray &emitters) |
virtual C3D_API | ~ParticleUpdater () noexcept=default |
virtual C3D_API void | update (castor::Milliseconds const &time, Particle &particle) |
Updates a particle. | |
Protected Attributes | |
ParticleSystem const & | m_system |
ParticleDeclaration const & | m_inputs |
ParticleEmitterArray & | m_emitters |
C3D_API castor3d::ParticleUpdater::ParticleUpdater | ( | ParticleSystem const & | system, |
ParticleDeclaration const & | inputs, | ||
ParticleEmitterArray & | emitters ) |
|
virtualdefaultnoexcept |
|
virtual |
Updates a particle.
[in] | time | The time elapsed since last update. |
[in] | particle | The particle. |
|
protected |
|
protected |
|
protected |