struct

Particle

Particle data: the 64 built-in bytes plus four custom attributes.

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

Properties

TypeNameDescription
static constexpr uint32_tkCustomAttributesDefault 4.
Vec3position12 bytes - World position
floatlifetime4 bytes - Current age
Vec3velocity12 bytes - Current velocity
floatmaxLifetime4 bytes - Total lifetime
Vec2size8 bytes - Billboard size
floatrotation4 bytes - Z rotation in radians
floatangularVel4 bytes - Angular velocity
Vec4color16 bytes - RGBA color
float custom[kCustomAttributes] =The emitter's custom attributes (attr.<name> in an expression), in the order the emitter's scripts first name them. Zero at spawn; carried for the particle's whole life; on the GPU path they live in a parallel buffer.

Public functions

ReturnsNameDescription
floatGetNormalizedAgeGet normalized age [0, 1]
boolIsAlive

Function details

GetNormalizedAge

C++
float GetNormalizedAge() const

Get normalized age [0, 1]

IsAlive

C++
bool IsAlive() const
Generated from Particles/Particle.h via particles.json · Oct 31, 2026Version 1.0.0