|
hx3d
1
2D/3D Simple Game Framework
|
Poolable 2D/3D particle. More...
#include <particle.hpp>
Public Member Functions | |
| void | setTexture (const Ptr< Texture > &texture) |
| Set the texture. More... | |
| void | update (const float delta) |
| Update the particle. More... | |
| void | draw (Batch &batch) |
| Draw the particle. More... | |
| virtual void | reset () override |
| Reset the element. | |
Public Member Functions inherited from hx3d::Poolable | |
| void | setId (const unsigned int id) |
| Change the poolable ID. More... | |
| unsigned int | getId () const |
| Get the poolable ID. More... | |
Poolable 2D/3D particle.
Definition at line 37 of file particle.hpp.
| void hx3d::graphics::Particle::draw | ( | Batch & | batch | ) |
| void hx3d::graphics::Particle::update | ( | const float | delta | ) |
1.8.11