|
| void | create (EmitterShape::Enum _shape, EmitterDirection::Enum _direction, uint32_t _maxParticles) |
| |
| void | destroy () |
| |
| void | reset () |
| |
| float | calculateParticleSpeed (const Particle &particle, float ttPos) const |
| |
| void | updateParticleProperties (EmitterUniforms &uniforms_, Particle &particle, float avgSystemScale, bx::EaseFn easePos, bool hasColorBySpeed, bool hasSizeBySpeed, const math::mat4 &effectiveTransform) |
| |
| void | update (EmitterUniforms *_uniforms, float _dt) |
| |
| void | getEffectiveTransform (const EmitterUniforms &uniforms_, math::vec3 &outPosition, math::vec3 &outScale, math::vec3 &outEmissionShapeScale, math::mat4 &outTransformMatrix) const |
| |
| void | spawn (EmitterUniforms &uniforms_, math::bbox &aabb, float _dt) |
| |
Definition at line 177 of file particle_system.cpp.
◆ calculateParticleSpeed()
| float ps::Emitter::calculateParticleSpeed |
( |
const Particle & | particle, |
|
|
float | ttPos ) const |
|
inline |
◆ create()
◆ destroy()
| void ps::Emitter::destroy |
( |
| ) |
|
◆ getEffectiveTransform()
| void ps::Emitter::getEffectiveTransform |
( |
const EmitterUniforms & | uniforms_, |
|
|
math::vec3 & | outPosition, |
|
|
math::vec3 & | outScale, |
|
|
math::vec3 & | outEmissionShapeScale, |
|
|
math::mat4 & | outTransformMatrix ) const |
|
inline |
◆ reset()
| void ps::Emitter::reset |
( |
| ) |
|
|
inline |
◆ spawn()
◆ update()
◆ updateParticleProperties()
| void ps::Emitter::updateParticleProperties |
( |
EmitterUniforms & | uniforms_, |
|
|
Particle & | particle, |
|
|
float | avgSystemScale, |
|
|
bx::EaseFn | easePos, |
|
|
bool | hasColorBySpeed, |
|
|
bool | hasSizeBySpeed, |
|
|
const math::mat4 & | effectiveTransform ) |
|
inline |
◆ aabb_
◆ direction_
◆ dt_
◆ first_update_
| bool ps::Emitter::first_update_ |
◆ loop_
◆ max_particles_
| uint32_t ps::Emitter::max_particles_ |
◆ num_particles_
| uint32_t ps::Emitter::num_particles_ |
◆ particle_sort_
◆ particles_
◆ playing_
| bool ps::Emitter::playing_ |
◆ rng_
| bx::RngMwc ps::Emitter::rng_ |
◆ shape_
◆ total_particles_spawned_
| uint32_t ps::Emitter::total_particles_spawned_ |
The documentation for this struct was generated from the following file:
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/particles/ps/particle_system.cpp