Version: 2020.2
LanguageEnglish
  • C#

VelocityOverLifetimeModule

struct in UnityEngine

/

Implemented in:UnityEngine.ParticleSystemModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Description

Script interface for the VelocityOverLifetimeModule.

This module sets the velocity of particles during their lifetime.

See Also: ParticleSystem, ParticleSystem.velocityOverLifetime.

Properties

enabledSpecifies whether the VelocityOverLifetimeModule is enabled or disabled.
orbitalOffsetXSpecify a custom center of rotation for the orbital and radial velocities.
orbitalOffsetXMultiplierA multiplier for _orbitalOffsetX.
orbitalOffsetYSpecify a custom center of rotation for the orbital and radial velocities.
orbitalOffsetYMultiplierA multiplier for _orbitalOffsetY.
orbitalOffsetZSpecify a custom center of rotation for the orbital and radial velocities.
orbitalOffsetZMultiplierA multiplier for _orbitalOffsetY.
orbitalXCurve to control particle speed based on lifetime, around the x-axis.
orbitalXMultiplierSpeed multiplier along the x-axis.
orbitalYCurve to control particle speed based on lifetime, around the y-axis.
orbitalYMultiplierSpeed multiplier along the y-axis.
orbitalZCurve to control particle speed based on lifetime, around the z-axis.
orbitalZMultiplierSpeed multiplier along the z-axis.
radialCurve to control particle speed based on lifetime, away from a center position.
radialMultiplierA multiplier for ParticleSystem.VelocityOverLifetimeModule.radial.
spaceSpecifies if the velocities are in local space (rotated with the transform) or world space.
speedModifierCurve to control particle speed based on lifetime, without affecting the direction of the particles.
speedModifierMultiplierA multiplier for ParticleSystem.VelocityOverLifetimeModule.speedModifier.
xCurve to control particle speed based on lifetime, on the x-axis.
xMultiplierA multiplier for ParticleSystem.VelocityOverLifetimeModule.x
yCurve to control particle speed based on lifetime, on the y-axis.
yMultiplierA multiplier for ParticleSystem.VelocityOverLifetimeModule.y.
zCurve to control particle speed based on lifetime, on the z-axis.
zMultiplierA multiplier for ParticleSystem.VelocityOverLifetimeModule.z.