Castor3D 0.16.0
Multiplatform 3D engine
|
#include <ParticleEmitter.hpp>
Types publics | |
using | OnEmitFunction = castor::Function< void( Particle const & particle ) > |
using | OnEmitSignal = castor::SignalT< OnEmitFunction > |
using | OnEmitConnection = OnEmitSignal::connection |
Fonctions membres publiques | |
C3D_API | ParticleEmitter (castor3d::ParticleDeclaration const &decl) |
virtual C3D_API | ~ParticleEmitter () noexcept=default |
C3D_API castor3d::Particle | emit (ParticleValues const &value) const |
Emet une particle ayant les valeurs données. | |
Attributs publics | |
OnEmitSignal | onEmit |
Attributs protégés | |
castor3d::ParticleDeclaration const & | m_decl |
using castor3d::ParticleEmitter::OnEmitFunction = castor::Function< void( Particle const & particle ) > |
|
explicit |
|
virtualdefaultnoexcept |
C3D_API castor3d::Particle castor3d::ParticleEmitter::emit | ( | ParticleValues const & | value | ) | const |
Emet une particle ayant les valeurs données.
[in] | value | Les valeurs de la particule. |
|
protected |
OnEmitSignal castor3d::ParticleEmitter::onEmit |