1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
\r
2 // This file is part of the "Irrlicht Engine".
\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
\r
5 #ifndef __S_PARTICLE_H_INCLUDED__
\r
6 #define __S_PARTICLE_H_INCLUDED__
\r
8 #include "vector3d.h"
\r
9 #include "dimension2d.h"
\r
16 //! Struct for holding particle data
\r
19 //! Position of the particle
\r
20 core::vector3df pos;
\r
22 //! Direction and speed of the particle
\r
23 core::vector3df vector;
\r
25 //! Start life time of the particle
\r
28 //! End life time of the particle
\r
31 //! Current color of the particle
\r
32 video::SColor color;
\r
34 //! Original color of the particle.
\r
35 /** That's the color of the particle it had when it was emitted. */
\r
36 video::SColor startColor;
\r
38 //! Original direction and speed of the particle.
\r
39 /** The direction and speed the particle had when it was emitted. */
\r
40 core::vector3df startVector;
\r
42 //! Scale of the particle.
\r
43 /** The current scale of the particle. */
\r
44 core::dimension2df size;
\r
46 //! Original scale of the particle.
\r
47 /** The scale of the particle when it was emitted. */
\r
48 core::dimension2df startSize;
\r
52 } // end namespace scene
\r
53 } // end namespace irr
\r