Public Types | |
typedef std::map< float, Sprite > | TimeSpriteMap |
Public Member Functions | |
MBParticleSpriteGenerator () | |
~MBParticleSpriteGenerator () | |
void | init (Scene **scenes, unsigned count) |
size_t | getParticleCount () const |
void | getSprite (unsigned index, TimeSpriteMap &sprites) const |
MBSceneParticlesSprite.
MBParticleSpriteGenerator::MBParticleSpriteGenerator | ( | ) |
constructor
MBParticleSpriteGenerator::~MBParticleSpriteGenerator | ( | ) |
destructor
void MBParticleSpriteGenerator::init | ( | Scene ** | scenes, |
unsigned | count | ||
) |
initialize the sprite generator with all scenes
size_t MBParticleSpriteGenerator::getParticleCount | ( | ) | const |
get the number of available particles
void MBParticleSpriteGenerator::getSprite | ( | unsigned | index, |
TimeSpriteMap & | sprites | ||
) | const |
fill the sprite structure
References DD::Image::MatrixArray::matrix(), and DD::Image::Matrix4::z_axis().
©2021 The Foundry Visionmongers, Ltd. All Rights Reserved. |