Castor3D 0.15.0
Multiplatform 3D engine
|
#include <ParticleEmitter.hpp>
Types publics | |
using | OnEmitFunction = std::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 ()=default |
C3D_API castor3d::Particle | emit (ParticleValues const &value) |
Emet une particle ayant les valeurs données. | |
Attributs publics | |
OnEmitSignal | onEmit |
Attributs protégés | |
castor3d::ParticleDeclaration const & | m_decl |
using castor3d::ParticleEmitter::OnEmitConnection = OnEmitSignal::connection |
using castor3d::ParticleEmitter::OnEmitFunction = std::function< void( Particle const & particle ) > |
using castor3d::ParticleEmitter::OnEmitSignal = castor::SignalT< OnEmitFunction > |
|
explicit |
|
virtualdefault |
C3D_API castor3d::Particle castor3d::ParticleEmitter::emit | ( | ParticleValues const & | value | ) |
Emet une particle ayant les valeurs données.
[in] | value | Les valeurs de la particule. |
|
protected |
OnEmitSignal castor3d::ParticleEmitter::onEmit |