#include <particle.h>
◆ ParticleComponent()
tram::ParticleComponent::ParticleComponent |
( |
| ) |
|
|
inline |
◆ ~ParticleComponent()
tram::ParticleComponent::~ParticleComponent |
( |
| ) |
|
◆ EmitParticle()
void tram::ParticleComponent::EmitParticle |
( |
const Particle & |
particle | ) |
|
◆ EventHandler()
void tram::ParticleComponent::EventHandler |
( |
Event & |
event | ) |
|
|
inlinevirtual |
◆ GetSprite()
name_t tram::ParticleComponent::GetSprite |
( |
| ) |
|
|
inline |
◆ SetSprite()
◆ Start()
void tram::ParticleComponent::Start |
( |
| ) |
|
|
virtual |
◆ Update()
void tram::ParticleComponent::Update |
( |
| ) |
|
◆ UpdateLocation()
void tram::ParticleComponent::UpdateLocation |
( |
vec3 |
nlocation | ) |
|
|
inline |
◆ UpdateRenderListObject()
void tram::ParticleComponent::UpdateRenderListObject |
( |
| ) |
|
◆ draw_list_entry
◆ emission_rate
uint32_t tram::ParticleComponent::emission_rate = 1 |
◆ gravity
vec3 tram::ParticleComponent::gravity = vec3(0.0f, -0.005f, 0.0f) |
◆ initial_velocity
vec3 tram::ParticleComponent::initial_velocity = vec3(0.0f, 0.15f, 0.0f) |
◆ initial_velocity_randomness
float tram::ParticleComponent::initial_velocity_randomness = 0.1f |
◆ location
vec3 tram::ParticleComponent::location |
|
protected |
◆ particle_max_age
uint32_t tram::ParticleComponent::particle_max_age = 120 |
◆ particles
std::vector<Particle> tram::ParticleComponent::particles |
|
protected |
◆ sprite
◆ vertex_array
The documentation for this class was generated from the following files:
- C:/Users/Poga/Desktop/painis/tram-sdk/src/components/particle.h
- C:/Users/Poga/Desktop/painis/tram-sdk/src/components/particle.cpp