diff options
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/CParticleScaleAffector.h')
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/CParticleScaleAffector.h | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CParticleScaleAffector.h b/libraries/irrlicht-1.8/source/Irrlicht/CParticleScaleAffector.h index 8bd4c42..708bffa 100644 --- a/libraries/irrlicht-1.8/source/Irrlicht/CParticleScaleAffector.h +++ b/libraries/irrlicht-1.8/source/Irrlicht/CParticleScaleAffector.h | |||
@@ -1,44 +1,44 @@ | |||
1 | // Copyright (C) 2010-2012 Nikolaus Gebhardt | 1 | // Copyright (C) 2010-2012 Nikolaus Gebhardt |
2 | // This file is part of the "Irrlicht Engine". | 2 | // This file is part of the "Irrlicht Engine". |
3 | // For conditions of distribution and use, see copyright notice in irrlicht.h | 3 | // For conditions of distribution and use, see copyright notice in irrlicht.h |
4 | 4 | ||
5 | #ifndef C_PARTICLE_SCALE_AFFECTOR_H | 5 | #ifndef C_PARTICLE_SCALE_AFFECTOR_H |
6 | #define C_PARTICLE_SCALE_AFFECTOR_H | 6 | #define C_PARTICLE_SCALE_AFFECTOR_H |
7 | 7 | ||
8 | #include <IParticleAffector.h> | 8 | #include <IParticleAffector.h> |
9 | 9 | ||
10 | namespace irr | 10 | namespace irr |
11 | { | 11 | { |
12 | namespace scene | 12 | namespace scene |
13 | { | 13 | { |
14 | class CParticleScaleAffector : public IParticleAffector | 14 | class CParticleScaleAffector : public IParticleAffector |
15 | { | 15 | { |
16 | public: | 16 | public: |
17 | CParticleScaleAffector(const core::dimension2df& scaleTo = core::dimension2df(1.0f, 1.0f)); | 17 | CParticleScaleAffector(const core::dimension2df& scaleTo = core::dimension2df(1.0f, 1.0f)); |
18 | 18 | ||
19 | virtual void affect(u32 now, SParticle *particlearray, u32 count); | 19 | virtual void affect(u32 now, SParticle *particlearray, u32 count); |
20 | 20 | ||
21 | //! Writes attributes of the object. | 21 | //! Writes attributes of the object. |
22 | //! Implement this to expose the attributes of your scene node animator for | 22 | //! Implement this to expose the attributes of your scene node animator for |
23 | //! scripting languages, editors, debuggers or xml serialization purposes. | 23 | //! scripting languages, editors, debuggers or xml serialization purposes. |
24 | virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options) const; | 24 | virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options) const; |
25 | 25 | ||
26 | //! Reads attributes of the object. | 26 | //! Reads attributes of the object. |
27 | //! Implement this to set the attributes of your scene node animator for | 27 | //! Implement this to set the attributes of your scene node animator for |
28 | //! scripting languages, editors, debuggers or xml deserialization purposes. | 28 | //! scripting languages, editors, debuggers or xml deserialization purposes. |
29 | //! \param startIndex: start index where to start reading attributes. | 29 | //! \param startIndex: start index where to start reading attributes. |
30 | //! \return: returns last index of an attribute read by this affector | 30 | //! \return: returns last index of an attribute read by this affector |
31 | virtual void deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options); | 31 | virtual void deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options); |
32 | 32 | ||
33 | //! Get emitter type | 33 | //! Get emitter type |
34 | virtual E_PARTICLE_AFFECTOR_TYPE getType() const; | 34 | virtual E_PARTICLE_AFFECTOR_TYPE getType() const; |
35 | 35 | ||
36 | protected: | 36 | protected: |
37 | core::dimension2df ScaleTo; | 37 | core::dimension2df ScaleTo; |
38 | }; | 38 | }; |
39 | } | 39 | } |
40 | } | 40 | } |
41 | 41 | ||
42 | 42 | ||
43 | #endif // C_PARTICLE_SCALE_AFFECTOR_H | 43 | #endif // C_PARTICLE_SCALE_AFFECTOR_H |
44 | 44 | ||