Particle attributes that expressions can read from or assign to. Map to fields on the Particle struct (see particle_builder.ts header):
Particle
particle_builder.ts
position
velocity
color
rgb
alpha
size
rotation
age
max_age
normalized_age
age / max(max_age, 1e-6)
Particle attributes that expressions can read from or assign to. Map to fields on the
Particlestruct (seeparticle_builder.tsheader):position/velocity: vec3color: vec4;rgb: vec3;alpha: f32 (writingrgbpreserves alpha)size/rotation: f32age/max_age: f32 (lifetime in seconds;ageis current life)normalized_age: f32 in [0,1] (computed:age / max(max_age, 1e-6)). Read-only — setageormax_ageinstead.