TDME2
1.9.121
src
tdme
engine
prototype
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
tdme/tdme.h
>
4
#include <
tdme/engine/model/fwd-tdme.h
>
5
#include <
tdme/engine/model/Color4.h
>
6
#include <
tdme/engine/prototype/fwd-tdme.h
>
7
#include <
tdme/math/fwd-tdme.h
>
8
#include <
tdme/math/Vector3.h
>
9
10
using
tdme::engine::model::Color4
;
11
using
tdme::math::Vector3
;
12
13
/**
14
* Prototype circle particle emitter plane velocity definition
15
* @author Andreas Drewke
16
* @version $Id$
17
*/
18
class
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity
final
19
{
20
private
:
21
int
count
;
22
int64_t
lifeTime
;
23
int64_t
lifeTimeRnd
;
24
float
mass
;
25
float
massRnd
;
26
float
velocity
;
27
float
velocityRnd
;
28
Color4
colorStart
;
29
Color4
colorEnd
;
30
Vector3
center
;
31
float
radius
;
32
Vector3
axis0
;
33
Vector3
axis1
;
34
35
public
:
36
/**
37
* Public constructor
38
*/
39
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity
();
40
41
/**
42
* @return count
43
*/
44
inline
int
getCount
() {
45
return
count
;
46
}
47
48
/**
49
* Set count
50
* @param count count
51
*/
52
inline
void
setCount
(
int
count
) {
53
this->count =
count
;
54
}
55
56
/**
57
* @return life time
58
*/
59
inline
int64_t
getLifeTime
() {
60
return
lifeTime
;
61
}
62
63
/**
64
* Set life time
65
* @param lifeTime life time
66
*/
67
inline
void
setLifeTime
(int64_t
lifeTime
) {
68
this->lifeTime =
lifeTime
;
69
}
70
71
/**
72
* @return life time rnd
73
*/
74
inline
int64_t
getLifeTimeRnd
() {
75
return
lifeTimeRnd
;
76
}
77
78
/**
79
* Set life time rnd
80
* @param lifeTimeRnd life time rnd
81
*/
82
inline
void
setLifeTimeRnd
(int64_t
lifeTimeRnd
) {
83
this->lifeTimeRnd =
lifeTimeRnd
;
84
}
85
86
/**
87
* @return mass
88
*/
89
inline
float
getMass
() {
90
return
mass
;
91
}
92
93
/**
94
* Set mass
95
* @param mass mass
96
*/
97
inline
void
setMass
(
float
mass
) {
98
this->mass =
mass
;
99
}
100
101
/**
102
* @return mass rnd
103
*/
104
inline
float
getMassRnd
() {
105
return
massRnd
;
106
}
107
108
/**
109
* Set mass rnd
110
* @param massRnd mass rnd
111
*/
112
inline
void
setMassRnd
(
float
massRnd
) {
113
this->massRnd =
massRnd
;
114
}
115
116
/**
117
* @return velocity
118
*/
119
inline
float
getVelocity
() {
120
return
velocity
;
121
}
122
123
/**
124
* Set velocity
125
* @param velocity velocity
126
*/
127
inline
void
setVelocity
(
float
velocity
) {
128
this->velocity =
velocity
;
129
}
130
131
/**
132
* @return velocity rnd
133
*/
134
inline
float
getVelocityRnd
() {
135
return
velocityRnd
;
136
}
137
138
/**
139
* Set velocity rnd
140
* @param velocityRnd velocity rnd
141
*/
142
inline
void
setVelocityRnd
(
float
velocityRnd
) {
143
this->velocityRnd =
velocityRnd
;
144
}
145
146
/**
147
* @return color start
148
*/
149
inline
const
Color4
&
getColorStart
() {
150
return
colorStart
;
151
}
152
153
/**
154
* Set start color
155
* @param colorStart start color
156
*/
157
inline
void
setColorStart
(
const
Color4
&
colorStart
) {
158
this->colorStart =
colorStart
;
159
}
160
161
/**
162
* @return color end
163
*/
164
inline
const
Color4
&
getColorEnd
() {
165
return
colorEnd
;
166
}
167
168
/**
169
* Set end color
170
* @param colorEnd color end
171
*/
172
inline
void
setColorEnd
(
const
Color4
&
colorEnd
) {
173
this->colorEnd =
colorEnd
;
174
}
175
176
/**
177
* @return center
178
*/
179
inline
const
Vector3
&
getCenter
() {
180
return
center
;
181
}
182
183
/**
184
* Set center
185
* @param center center
186
*/
187
inline
void
setCenter
(
const
Vector3
&
center
) {
188
this->center =
center
;
189
}
190
191
/**
192
* @return radius
193
*/
194
inline
float
getRadius
() {
195
return
radius
;
196
}
197
198
/**
199
* Set radius
200
* @param radius radius
201
*/
202
inline
void
setRadius
(
float
radius
) {
203
this->radius =
radius
;
204
}
205
206
/**
207
* @return axis 0
208
*/
209
inline
const
Vector3
&
getAxis0
() {
210
return
axis0
;
211
}
212
213
/**
214
* Set axis 0
215
* @param axis0 axis 0
216
*/
217
inline
void
setAxis0
(
const
Vector3
&
axis0
) {
218
this->axis0 =
axis0
;
219
}
220
221
/**
222
* @return axis 1
223
*/
224
inline
const
Vector3
&
getAxis1
() {
225
return
axis1
;
226
}
227
228
/**
229
* Set axis 1
230
* @param axis0 axis 1
231
*/
232
inline
void
setAxis1
(
const
Vector3
&
axis1
) {
233
this->axis1 =
axis1
;
234
}
235
236
};
Color4.h
Vector3.h
tdme::engine::model::Color4
Color 4 definition.
Definition:
Color4.h:20
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity
Prototype circle particle emitter plane velocity definition.
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:19
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::setMass
void setMass(float mass)
Set mass.
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:97
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::setLifeTime
void setLifeTime(int64_t lifeTime)
Set life time.
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:67
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::setVelocity
void setVelocity(float velocity)
Set velocity.
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:127
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::colorEnd
Color4 colorEnd
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:29
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::setAxis0
void setAxis0(const Vector3 &axis0)
Set axis 0.
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:217
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::getLifeTime
int64_t getLifeTime()
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:59
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::getColorEnd
const Color4 & getColorEnd()
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:164
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::radius
float radius
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:31
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::getColorStart
const Color4 & getColorStart()
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:149
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::setColorEnd
void setColorEnd(const Color4 &colorEnd)
Set end color.
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:172
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::getRadius
float getRadius()
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:194
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity()
Public constructor.
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.cpp:11
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::setCenter
void setCenter(const Vector3 ¢er)
Set center.
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:187
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::colorStart
Color4 colorStart
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:28
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::lifeTimeRnd
int64_t lifeTimeRnd
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:23
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::setCount
void setCount(int count)
Set count.
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:52
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::getVelocity
float getVelocity()
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:119
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::mass
float mass
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:24
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::axis1
Vector3 axis1
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:33
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::getAxis1
const Vector3 & getAxis1()
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:224
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::velocityRnd
float velocityRnd
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:27
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::lifeTime
int64_t lifeTime
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:22
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::getAxis0
const Vector3 & getAxis0()
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:209
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::getLifeTimeRnd
int64_t getLifeTimeRnd()
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:74
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::setMassRnd
void setMassRnd(float massRnd)
Set mass rnd.
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:112
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::setLifeTimeRnd
void setLifeTimeRnd(int64_t lifeTimeRnd)
Set life time rnd.
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:82
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::setColorStart
void setColorStart(const Color4 &colorStart)
Set start color.
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:157
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::setAxis1
void setAxis1(const Vector3 &axis1)
Set axis 1.
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:232
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::getMassRnd
float getMassRnd()
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:104
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::velocity
float velocity
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:26
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::setVelocityRnd
void setVelocityRnd(float velocityRnd)
Set velocity rnd.
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:142
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::setRadius
void setRadius(float radius)
Set radius.
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:202
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::count
int count
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:21
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::getVelocityRnd
float getVelocityRnd()
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:134
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::center
Vector3 center
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:30
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::getCenter
const Vector3 & getCenter()
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:179
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::getCount
int getCount()
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:44
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::getMass
float getMass()
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:89
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::axis0
Vector3 axis0
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:32
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::massRnd
float massRnd
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:25
tdme::math::Vector3
3D vector 3 class
Definition:
Vector3.h:22
fwd-tdme.h
fwd-tdme.h
fwd-tdme.h
tdme.h
Generated by
1.9.3