Irrlicht 3D Engine
SParticle.h
Go to the documentation of this file.
1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h
4
5#ifndef __S_PARTICLE_H_INCLUDED__
6#define __S_PARTICLE_H_INCLUDED__
7
8#include "vector3d.h"
9#include "dimension2d.h"
10#include "SColor.h"
11
12namespace irr
13{
14namespace scene
15{
17 struct SParticle
18 {
21
24
27
30
33
35
37
39
41
43
45
47
49 };
50
51
52} // end namespace scene
53} // end namespace irr
54
55#endif
56
Specifies a 2 dimensional size.
Definition: dimension2d.h:21
Class representing a 32 bit ARGB color.
Definition: SColor.h:202
Everything in the Irrlicht Engine can be found in this namespace.
Definition: aabbox3d.h:13
unsigned int u32
32 bit unsigned variable.
Definition: irrTypes.h:58
Struct for holding particle data.
Definition: SParticle.h:18
video::SColor startColor
Original color of the particle.
Definition: SParticle.h:36
core::dimension2df size
Scale of the particle.
Definition: SParticle.h:44
core::vector3df startVector
Original direction and speed of the particle.
Definition: SParticle.h:40
core::vector3df pos
Position of the particle.
Definition: SParticle.h:20
video::SColor color
Current color of the particle.
Definition: SParticle.h:32
core::dimension2df startSize
Original scale of the particle.
Definition: SParticle.h:48
u32 startTime
Start life time of the particle.
Definition: SParticle.h:26
u32 endTime
End life time of the particle.
Definition: SParticle.h:29
core::vector3df vector
Direction and speed of the particle.
Definition: SParticle.h:23