Version: 2021.2
LanguageEnglish
  • C#

LimitVelocityOverLifetimeModule

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 Limit Velocity Over Lifetime module.

Properties

dampenControls how much this module dampens particle velocities that exceed the velocity limit.
dragControls the amount of drag that this modules applies to the particle velocities.
dragMultiplierSpecifies the drag multiplier.
enabledSpecifies whether the LimitForceOverLifetimeModule is enabled or disabled.
limitMaximum velocity curve, when not using one curve per axis.
limitMultiplierChange the limit multiplier.
limitXMaximum velocity curve for the x-axis.
limitXMultiplierChange the limit multiplier on the x-axis.
limitYMaximum velocity curve for the y-axis.
limitYMultiplierChange the limit multiplier on the y-axis.
limitZMaximum velocity curve for the z-axis.
limitZMultiplierChange the limit multiplier on the z-axis.
multiplyDragByParticleSizeAdjust the amount of drag this module applies to particles, based on their sizes.
multiplyDragByParticleVelocityAdjust the amount of drag this module applies to particles, based on their speeds.
separateAxesSet the velocity limit on each axis separately. This module uses ParticleSystem.LimitVelocityOverLifetimeModule.drag to dampen a particle's velocity if the velocity exceeds this value.
spaceSpecifies if the velocity limits are in local space (rotated with the transform) or world space.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961