add 'size_spread' particles parameter

This commit is contained in:
MihailRis
2024-11-08 17:44:57 +03:00
parent f84fe71021
commit a52d68669d
3 changed files with 7 additions and 1 deletions
+2
View File
@@ -42,6 +42,8 @@ struct ParticlesPreset : public Serializable {
glm::vec3 explosion {2.0f};
/// @brief Particle size
glm::vec3 size {0.1f};
/// @brief Particles size spread
float sizeSpread = 0.2f;
/// @brief Spawn spread shape
ParticleSpawnShape spawnShape = BALL;
/// @brief Spawn spread