Adapted Escape the Dawn engine.
This commit is contained in:
Executable
+25
@@ -0,0 +1,25 @@
|
||||
#ifndef Components_ParticleEmitter_h__
|
||||
#define Components_ParticleEmitter_h__
|
||||
|
||||
#include "Component.h"
|
||||
#include "Color.h"
|
||||
#include <vector>
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
||||
struct ParticleEmitter : Component
|
||||
{
|
||||
int ParticleTemplate;
|
||||
float SpawnFrequency;
|
||||
int SpawnCount;
|
||||
std::vector<Color> ColorSpectrum;
|
||||
std::vector<float> ScaleSpectrum;
|
||||
float SpreadAngle;
|
||||
float LifeTime;
|
||||
std::vector<float[3]> VelocitySpectrum;
|
||||
std::vector<float[3]> AngularVelocitySpectrum;
|
||||
};
|
||||
|
||||
}
|
||||
#endif // !Components_ParticleEmitter_h__
|
||||
Reference in New Issue
Block a user