Particle Documentation - Particle Molang Integration
Any field can use a Molang expression. Molang expressions are strings, defined in the Molang documentation here. The particle system uses some special Molang variables for particle Molang expressions.
Additionally, custom Molang parameters can be set in various ways and used in Molang expressions in effects.
Name | Description |
---|---|
variable.emitter_age | Age since the current loop started for the emitter |
variable.emitter_lifetime | How long the current loop lasts for the emitter |
variable.emitter_random_1 | A random from 0.0 to 1.0 that is constant for the current loop of the emitter |
variable.emitter_random_2 | Another random from 0.0 to 1.0 that is constant for the current loop of the emitter |
variable.emitter_random_3 | A third random from 0.0 to 1.0 that is constant for the current loop of the emitter |
variable.emitter_random_4 | A fourth random from 0.0 to 1.0 that is constant for the current loop of the emitter |
variable.entity_scale | When the effect is attached to an entity, this value is the scale of the entity |
variable.particle_age | How long the particle has lived |
variable.particle_lifetime | How long the particle will live |
variable.particle_random_1 | A random from 0.0 to 1.0 that is constant for the lifetime of the particle |
variable.particle_random_2 | Another random from 0.0 to 1.0 that is constant for the lifetime of the particle |
variable.particle_random_3 | A third random from 0.0 to 1.0 that is constant for the lifetime of the particle |
variable.particle_random_4 | A fourth random from 0.0 to 1.0 that is constant for the lifetime of the particle |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for