OptionallinearX: ValueGenerator | FunctionValueGenerator
Velocity along x over the particle's life, in units per second.
OptionallinearY: ValueGenerator | FunctionValueGenerator
Velocity along y.
OptionallinearZ: ValueGenerator | FunctionValueGenerator
Velocity along z.
OptionalorbitalX: ValueGenerator | FunctionValueGenerator
Angular speed around the x axis through the orbit centre, in radians per second.
OptionalorbitalY: ValueGenerator | FunctionValueGenerator
Angular speed around the y axis.
OptionalorbitalZ: ValueGenerator | FunctionValueGenerator
Angular speed around the z axis.
Optionalspace: BehaviorSpace
The space the velocities and axes are authored in: 'local' (the emitter's,
the default) or 'world'.
Optionalradial: ValueGenerator | FunctionValueGenerator
Speed away from the orbit centre (Unity's Radial).
OptionalorbitalOffset: Vector3Like
Where the orbital speeds turn around, relative to the emitter (Unity's Orbital Offset).
Axes the orbital speeds turn around, refreshed once per frame by frameUpdate. In world space they are the emitter's axes, which only change when the emitter does — so they are hoisted out of the per-particle work rather than rebuilt for every particle.
The orbit centre in the simulation space, refreshed with the axes.
OptionalpsLearned in initialize, so undefined until this behavior sees a particle.
Speed away from the orbit centre (Unity's Radial), in the authored space's units.
The name the behavior is registered under in BehaviorTypes.
Where the orbital speeds turn around, relative to the emitter (Unity's Orbital Offset).
Set it from any Vector3Like, such as a Babylon Vector3; the value is copied.
Where the orbital speeds turn around, relative to the emitter (Unity's Orbital Offset).
Set it from any Vector3Like, such as a Babylon Vector3; the value is copied.
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.
Called once per live particle per step, with the step's length in seconds.
StaticfromReads VelocityOverLife.toJSON output; a field the JSON leaves out takes its default.
Move particles with a direct velocity over their life (Unity's "Velocity over Lifetime"). Applied as a positional displacement, so it is not affected by speed modifiers, forces, or speed limits. Orbital speeds rotate particles around the emitter axes. The velocity of the move is added to the particle's
animatedVelocitywhen it keeps one, as Unity's module adds to the particle's animated velocity, so a stretched billboard is drawn along it.For an orbit around a single axis of any direction, or around the world origin, use
OrbitOverLife; this one orbits the emitter's three axes, with a radial speed and an offset pivot as Unity's module has.