class
VelocityModule
Velocity module - adds velocity over lifetime
- Module
- Particles
- Header
#include "Particles/ParticleModule.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
Vec3 | linearVelocity | Linear velocity (world space) Default Vec3(0.0f, 0.0f, 0.0f). |
float | orbitalVelocity | Orbital velocity (around Y axis at emitter position) Default 0.0f. |
float | radialVelocity | Radial velocity (away from emitter) Default 0.0f. |
std::vector<ParticleSizeKey> | speedOverLifetime | Speed multiplier curve over lifetime |
Public functions
| Returns | Name | Description |
|---|---|---|
void | OnUpdate | |
void | OnUpdateRange | |
const char* | GetTypeName | |
Scope<ParticleModule> | Clone |
Function details
OnUpdate
C++
void OnUpdate(Particle& particle, float deltaTime, float normalizedAge) overrideOnUpdateRange
C++
void OnUpdateRange(Particle* particles, size_t count, float deltaTime, const float* normalizedAges) overrideGetTypeName
C++
const char* GetTypeName() const overrideClone
C++
Scope<ParticleModule> Clone() const overrideGenerated from Particles/ParticleModule.h via particles.json · Oct 31, 2026Version 1.0.0