class

ShapeModule

Shape module - controls initial spawn position and direction

Module
Particles
Header
#include "Particles/ParticleModule.h"
Namespace
Mowo

Properties

TypeNameDescription
EmitterShapeshapeDefault EmitterShape::Point.
floatradiusSphere/Hemisphere Default 1.0f.
boolemitFromShellIf true, emit from surface only Default false.
floatangleCone Default 25.0f.
Vec3boxSizeBox Default Vec3(1.0f, 1.0f, 1.0f).
floatarcAngleCircle/Edge Default 360.0f.
boolrandomizeDirectionDirection Default true.

Public functions

ReturnsNameDescription
voidOnSpawn
voidOnUpdateRange
const char*GetTypeName
Scope<ParticleModule>Clone

Function details

OnSpawn

C++
void OnSpawn(Particle& particle, ParticleRandom& random, const Vec3& emitterPos) override

OnUpdateRange

C++
void OnUpdateRange(Particle* particles, size_t count, float deltaTime, const float* normalizedAges) override

GetTypeName

C++
const char* GetTypeName() const override

Clone

C++
Scope<ParticleModule> Clone() const override
Generated from Particles/ParticleModule.h via particles.json · Oct 31, 2026Version 1.0.0