Turn rate in radians per second over the particle's life.
Scratch for a mesh particle's rotation step; also read by the fused pass.
The name the behavior is registered under in BehaviorTypes.
A copy with the same settings that shares nothing mutable with this one.
Called once per step before this behavior updates the particles, with the step's length in seconds.
Called once per particle when it is emitted; see the interface's description for when.
Called when the system restarts (not when a looping system starts its next loop): forget state accumulated across steps, so the replay starts as the first play did.
The behavior's settings as plain data, with its type; see the interface's description.
Turns a mesh particle by angle about its Particle.rotationAxis (its own Z when it
has none), keeping the step for the renderer to draw a fraction of between simulation steps.
The same call as RotationOverLife.turn: it turns about the particle's Particle.rotationAxis. Kept so callers written against the old name still compile.
Called once per live particle per step, with the step's length in seconds.
Optional bulk form of update, applied to particles[0..count).
The per-particle update is reached through one call site shared by every
behavior type, which leaves it megamorphic: V8 can neither inline it nor
specialise the generator calls inside. A behavior that implements this
instead gets one call per frame and a loop it owns, where those calls are
monomorphic. Implementations must skip dead particles (age >= life)
exactly as the per-particle path does, and must produce identical results.
Behaviors that do not implement it keep working unchanged. A subclass that overrides
update but not updateAll has its update called, not the inherited updateAll.
StaticfromReads RotationOverLife.toJSON output; a field the JSON leaves out takes its default.
Apply rotation to particles over their life.
A billboard (rotation is an angle) turns in its own plane. A mesh particle (rotation is a quaternion) turns about its Particle.rotationAxis, its local Z unless the system gave it another — the axis a number
startRotationturns a mesh about, and what Unity's Rotation over Lifetime without separate axes does to mesh particles. For a turn about all three axes, use Rotation3DOverLife.