NcEngine
|
Component for creating particle effects. More...
#include <ParticleEmitter.h>
Public Member Functions | |
ParticleEmitter (Entity entity, const asset::TextureView &texture, const ParticleInfo &info={}) | |
ParticleEmitter (ParticleEmitter &&other) noexcept | |
ParticleEmitter & | operator= (ParticleEmitter &&other) noexcept |
General Functions | |
auto | GetEntity () const -> Entity |
Texture Functions | |
auto | GetTexture () const noexcept -> const asset::TextureView & |
void | SetTexture (const asset::TextureView &texture) |
ParticleInfo Functions | |
auto | GetInfo () const noexcept -> const ParticleInfo & |
void | SetInfo (const ParticleInfo &info) |
void | Emit (size_t count) |
Emit count number of particles, saturating at maxParticleCount. | |
Component for creating particle effects.
|
inlinenoexcept |
internal
void nc::ParticleEmitter::SetInfo | ( | const ParticleInfo & | info | ) |
internal