Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/particles/model_particles.h @ 7579

Last change on this file since 7579 was 7221, checked in by bensch, 19 years ago

orxonox/trunk: merged the std-branche back, it runs on windows and Linux

svn merge https://svn.orxonox.net/orxonox/branches/std . -r7202:HEAD

File size: 826 bytes
RevLine 
[4597]1/*!
[6629]2 * @file model_particles.h
[3329]3
[3245]4*/
[1853]5
[6629]6#ifndef _MODEL_PARTICLE_SYSTEM_H
7#define _MODEL_PARTICLE_SYSTEM_H
[1853]8
[6621]9#include "particle_system.h"
10#include "material.h"
[4377]11
[6621]12//! A class to handle ParticleSystems
[6629]13class ModelParticles : public ParticleSystem
[4597]14{
[6621]15public:
[6629]16  ModelParticles(unsigned int maxCount = PARTICLE_DEFAULT_MAX_COUNT);
17  ModelParticles(const TiXmlElement* root);
18  virtual ~ModelParticles();
[3930]19
[6512]20  virtual void loadParams(const TiXmlElement* root);
[4602]21
[7221]22  void setMaterialTexture(const std::string& textureFile);
[3245]23
[4836]24  /** @returns the Material that lies on this particles */
[6621]25  inline const Material* getMaterial() const { return &this->material; };
[4338]26
[4746]27  virtual void draw() const;
[3931]28
[6621]29private:
30  void init();
[3938]31
[6621]32private:
33  Material          material;            //!< A Material for all the Particles.
[1853]34};
35
[6629]36#endif /* _MODEL_PARTICLE_SYSTEM_H */
Note: See TracBrowser for help on using the repository browser.