DD::Image::MBParticleSpriteGenerator Class Reference

Public Types

typedef std::map< float, SpriteTimeSpriteMap
 

Public Member Functions

 MBParticleSpriteGenerator ()
 
 ~MBParticleSpriteGenerator ()
 
void init (Scene **scenes, unsigned count)
 
size_t getParticleCount () const
 
void getSprite (unsigned index, TimeSpriteMap &sprites) const
 

Detailed Description

MBSceneParticlesSprite.

Constructor & Destructor Documentation

MBParticleSpriteGenerator::MBParticleSpriteGenerator ( )

constructor

MBParticleSpriteGenerator::~MBParticleSpriteGenerator ( )

destructor

Member Function Documentation

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().



©2019 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk