TDME2
1.9.200
src
tdme
engine
subsystems
particlesystem
Particle.h
Go to the documentation of this file.
1
2
#pragma once
3
4
#include <
tdme/tdme.h
>
5
#include <
tdme/engine/model/fwd-tdme.h
>
6
#include <
tdme/engine/Color4.h
>
7
#include <
tdme/engine/subsystems/particlesystem/fwd-tdme.h
>
8
#include <
tdme/math/fwd-tdme.h
>
9
#include <
tdme/math/Vector3.h
>
10
11
using
tdme::engine::Color4
;
12
using
tdme::math::Vector3
;
13
14
/**
15
* Particle entity
16
* @author Andreas Drewke
17
*/
18
struct
tdme::engine::subsystems::particlesystem::Particle
final
19
{
20
bool
active
;
21
float
spriteIndex
;
22
Vector3
velocity
;
23
Vector3
position
;
24
float
mass
;
25
int64_t
lifeTimeMax
;
26
int64_t
lifeTimeCurrent
;
27
Color4
color
;
28
Color4
colorAdd
;
29
};
Color4.h
Vector3.h
tdme::engine::Color4
Color 4 definition class.
Definition:
Color4.h:18
tdme::math::Vector3
Vector3 class representing vector3 mathematical structure and operations with x, y,...
Definition:
Vector3.h:20
fwd-tdme.h
fwd-tdme.h
fwd-tdme.h
tdme::engine::subsystems::particlesystem::Particle
Particle entity.
Definition:
Particle.h:19
tdme::engine::subsystems::particlesystem::Particle::active
bool active
Definition:
Particle.h:20
tdme::engine::subsystems::particlesystem::Particle::colorAdd
Color4 colorAdd
Definition:
Particle.h:28
tdme::engine::subsystems::particlesystem::Particle::velocity
Vector3 velocity
Definition:
Particle.h:22
tdme::engine::subsystems::particlesystem::Particle::mass
float mass
Definition:
Particle.h:24
tdme::engine::subsystems::particlesystem::Particle::lifeTimeCurrent
int64_t lifeTimeCurrent
Definition:
Particle.h:26
tdme::engine::subsystems::particlesystem::Particle::spriteIndex
float spriteIndex
Definition:
Particle.h:21
tdme::engine::subsystems::particlesystem::Particle::lifeTimeMax
int64_t lifeTimeMax
Definition:
Particle.h:25
tdme::engine::subsystems::particlesystem::Particle::position
Vector3 position
Definition:
Particle.h:23
tdme::engine::subsystems::particlesystem::Particle::color
Color4 color
Definition:
Particle.h:27
tdme.h
Generated by
1.9.1