TDME2
1.9.121
src
tdme
engine
prototype
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.cpp
Go to the documentation of this file.
1
#include <
tdme/engine/prototype/PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h
>
2
3
#include <
tdme/tdme.h
>
4
#include <
tdme/engine/model/Color4.h
>
5
#include <
tdme/math/Vector3.h
>
6
7
using
tdme::engine::model::Color4
;
8
using
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity
;
9
using
tdme::math::Vector3
;
10
11
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity()
12
{
13
count
= 2000;
14
lifeTime
= 1500;
15
lifeTimeRnd
= 500;
16
mass
= 0.0f;
17
massRnd
= 0.0f;
18
velocity
= 1.0f;
19
velocityRnd
= 0.5f;
20
colorStart
.
set
(0.5f, 0.5f, 0.5f, 0.5f);
21
colorEnd
.
set
(1.0f, 1.0f, 1.0f, 0.5f);
22
center
.
set
(0.0f, 0.0f, 0.0f);
23
radius
= 0.5f;
24
axis0
.
set
(1.0f, 0.0f, 0.0f);
25
axis1
.
set
(0.0f, 0.0f, 1.0f);
26
}
Color4.h
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h
Vector3.h
tdme::engine::model::Color4Base::set
void set(const array< float, 4 > &color)
Set up color.
Definition:
Color4Base.h:68
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::colorEnd
Color4 colorEnd
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:29
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::radius
float radius
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:31
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::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::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::velocity
float velocity
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:26
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::count
int count
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:21
tdme::engine::prototype::PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity::center
Vector3 center
Definition:
PrototypeParticleSystem_CircleParticleEmitterPlaneVelocity.h:30
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
tdme::math::Vector3::set
Vector3 & set(float x, float y, float z)
Set up vector.
Definition:
Vector3.h:73
tdme.h
Generated by
1.9.3