Loading...
Searching...
No Matches
SParticle.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __S_PARTICLE_H_INCLUDED__
#define __S_PARTICLE_H_INCLUDED__
#include "vector3d.h"
#include "dimension2d.h"
#include "SColor.h"
namespace irr
{
namespace scene
{
struct SParticle
{
core::vector3df pos;
core::vector3df vector;
u32 startTime;
u32 endTime;
video::SColor color;
video::SColor startColor;
core::vector3df startVector;
core::dimension2df size;
core::dimension2df startSize;
};
} // end namespace scene
} // end namespace irr
#endif
SColor.h
irr::video::SColor
Class representing a 32 bit ARGB color.
Definition SColor.h:202
dimension2d.h
irr::core::vector3df
vector3d< f32 > vector3df
Typedef for a f32 3d vector.
Definition vector3d.h:445
irr::core::dimension2df
dimension2d< f32 > dimension2df
Typedef for an f32 dimension.
Definition dimension2d.h:210
irr::scene
All scene management can be found in this namespace: Mesh loading, special scene nodes like octrees a...
Definition CDynamicMeshBuffer.h:16
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
irr::u32
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.h:58
irr::scene::SParticle
Struct for holding particle data.
Definition SParticle.h:18
irr::scene::SParticle::startColor
video::SColor startColor
Original color of the particle.
Definition SParticle.h:36
irr::scene::SParticle::size
core::dimension2df size
Scale of the particle.
Definition SParticle.h:44
irr::scene::SParticle::startVector
core::vector3df startVector
Original direction and speed of the particle.
Definition SParticle.h:40
irr::scene::SParticle::pos
core::vector3df pos
Position of the particle.
Definition SParticle.h:20
irr::scene::SParticle::color
video::SColor color
Current color of the particle.
Definition SParticle.h:32
irr::scene::SParticle::startSize
core::dimension2df startSize
Original scale of the particle.
Definition SParticle.h:48
irr::scene::SParticle::startTime
u32 startTime
Start life time of the particle.
Definition SParticle.h:26
irr::scene::SParticle::endTime
u32 endTime
End life time of the particle.
Definition SParticle.h:29
irr::scene::SParticle::vector
core::vector3df vector
Direction and speed of the particle.
Definition SParticle.h:23
vector3d.h
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0