TDME2
1.9.121
src
tdme
engine
prototype
PrototypeParticleSystem_BoundingBoxParticleEmitter.cpp
Go to the documentation of this file.
1
#include <
tdme/engine/prototype/PrototypeParticleSystem_BoundingBoxParticleEmitter.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_BoundingBoxParticleEmitter
;
9
using
tdme::math::Vector3
;
10
11
PrototypeParticleSystem_BoundingBoxParticleEmitter::PrototypeParticleSystem_BoundingBoxParticleEmitter()
12
{
13
count
= 2000;
14
lifeTime
= 1500;
15
lifeTimeRnd
= 500;
16
mass
= 0.0f;
17
massRnd
= 0.0f;
18
velocity
.
set
(0.0f, 1.0f, 0.0f);
19
velocityRnd
.
set
(0.0f, 0.5f, 0.0f);
20
colorStart
.
set
(0.5f, 0.5f, 0.5f, 0.5f);
21
colorEnd
.
set
(1.0f, 1.0f, 1.0f, 0.5f);
22
obbCenter
.
set
(0.0f, 0.5f, 0.0f);
23
obbHalfextension
.
set
(0.5f, 0.5f, 0.5f);
24
obbAxis0
.
set
(1.0f, 0.0f, 0.0f);
25
obbAxis1
.
set
(0.0f, 1.0f, 0.0f);
26
obbAxis2
.
set
(0.0f, 0.0f, 1.0f);
27
}
Color4.h
PrototypeParticleSystem_BoundingBoxParticleEmitter.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_BoundingBoxParticleEmitter
Prototype bounding box particle emitter definition.
Definition:
PrototypeParticleSystem_BoundingBoxParticleEmitter.h:19
tdme::engine::prototype::PrototypeParticleSystem_BoundingBoxParticleEmitter::colorEnd
Color4 colorEnd
Definition:
PrototypeParticleSystem_BoundingBoxParticleEmitter.h:29
tdme::engine::prototype::PrototypeParticleSystem_BoundingBoxParticleEmitter::obbCenter
Vector3 obbCenter
Definition:
PrototypeParticleSystem_BoundingBoxParticleEmitter.h:30
tdme::engine::prototype::PrototypeParticleSystem_BoundingBoxParticleEmitter::velocityRnd
Vector3 velocityRnd
Definition:
PrototypeParticleSystem_BoundingBoxParticleEmitter.h:27
tdme::engine::prototype::PrototypeParticleSystem_BoundingBoxParticleEmitter::velocity
Vector3 velocity
Definition:
PrototypeParticleSystem_BoundingBoxParticleEmitter.h:26
tdme::engine::prototype::PrototypeParticleSystem_BoundingBoxParticleEmitter::colorStart
Color4 colorStart
Definition:
PrototypeParticleSystem_BoundingBoxParticleEmitter.h:28
tdme::engine::prototype::PrototypeParticleSystem_BoundingBoxParticleEmitter::lifeTimeRnd
int64_t lifeTimeRnd
Definition:
PrototypeParticleSystem_BoundingBoxParticleEmitter.h:23
tdme::engine::prototype::PrototypeParticleSystem_BoundingBoxParticleEmitter::obbAxis0
Vector3 obbAxis0
Definition:
PrototypeParticleSystem_BoundingBoxParticleEmitter.h:32
tdme::engine::prototype::PrototypeParticleSystem_BoundingBoxParticleEmitter::mass
float mass
Definition:
PrototypeParticleSystem_BoundingBoxParticleEmitter.h:24
tdme::engine::prototype::PrototypeParticleSystem_BoundingBoxParticleEmitter::obbAxis2
Vector3 obbAxis2
Definition:
PrototypeParticleSystem_BoundingBoxParticleEmitter.h:34
tdme::engine::prototype::PrototypeParticleSystem_BoundingBoxParticleEmitter::lifeTime
int64_t lifeTime
Definition:
PrototypeParticleSystem_BoundingBoxParticleEmitter.h:22
tdme::engine::prototype::PrototypeParticleSystem_BoundingBoxParticleEmitter::obbAxis1
Vector3 obbAxis1
Definition:
PrototypeParticleSystem_BoundingBoxParticleEmitter.h:33
tdme::engine::prototype::PrototypeParticleSystem_BoundingBoxParticleEmitter::obbHalfextension
Vector3 obbHalfextension
Definition:
PrototypeParticleSystem_BoundingBoxParticleEmitter.h:31
tdme::engine::prototype::PrototypeParticleSystem_BoundingBoxParticleEmitter::count
int count
Definition:
PrototypeParticleSystem_BoundingBoxParticleEmitter.h:21
tdme::engine::prototype::PrototypeParticleSystem_BoundingBoxParticleEmitter::massRnd
float massRnd
Definition:
PrototypeParticleSystem_BoundingBoxParticleEmitter.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