Defines the ParticleSystem class, which is responsible for rendering a simple particle system. This is a temporary implementation and will be replaced with a more robust implementation in the future.
More...
#include <glm/glm.hpp>
#include "Core/Timestep.h"
Go to the source code of this file.
|
| namespace | Muto |
| | The main namespace for the Muto engine.
|
| |
Defines the ParticleSystem class, which is responsible for rendering a simple particle system. This is a temporary implementation and will be replaced with a more robust implementation in the future.
- Author
- Damon S. Green II
◆ Muto::Particle
| Class Members |
|
bool |
Active = false |
|
|
vec4 |
ColorBegin |
|
|
vec4 |
ColorEnd |
|
|
float |
LifeRemaining = 0.0f |
|
|
float |
Lifetime = 0.0f |
|
|
vec3 |
Position |
|
|
float |
Rotation |
|
|
float |
SizeBegin |
|
|
float |
SizeEnd |
|
|
vec3 |
Velocity |
|
◆ Muto::ParticleProps
| struct Muto::ParticleProps |
| Class Members |
|
vec4 |
ColorBegin = { 1.0f, 1.0f, 1.0f, 1.0f } |
|
|
vec4 |
ColorEnd = { 1.0f, 1.0f, 1.0f, 1.0f } |
|
|
float |
Lifetime = 1.0f |
|
|
float |
LifetimeVariation = 0.0f |
|
|
vec3 |
Position = { 0.0f, 0.0f, 0.0f } |
|
|
vec3 |
PositionVariation = { 0.0f, 0.0f, 0.0f } |
|
|
float |
Rotation = 0.0f |
|
|
float |
RotationVariation = 0.0f |
|
|
float |
SizeBegin = 1.0f |
|
|
float |
SizeEnd = 0.0f |
|
|
float |
SizeVariation = 0.0f |
|
|
vec3 |
Velocity = { 0.0f, 0.0f, 0.0f } |
|
|
vec3 |
VelocityVariation = { 0.0f, 0.0f, 0.0f } |
|