Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ParticleSystem.VelocityOverLifetimeModule

Script interface for the VelocityOverLifetimeModule.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public struct ParticleSystem.VelocityOverLifetimeModule

Remarks

This module sets the velocity of particles during their lifetime.

Properties

Property

Description

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 _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 _speedModifier.
xCurve to control particle speed based on lifetime, on the x-axis.
xMultiplierA multiplier for _x
yCurve to control particle speed based on lifetime, on the y-axis.
yMultiplierA multiplier for _y.
zCurve to control particle speed based on lifetime, on the z-axis.
zMultiplierA multiplier for _z.