文档

Unity Engine


User Manual

Script Reference

Unity Engine


animatedVelocity

The animated velocity of the particle.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public Vector3 animatedVelocity { get; }

Remarks

You can use animated velocity for effects that are not based on physics, but are instead based on creating a specific velocity over time. Modules such as Noise and VelocityOverLifetime use this type of velocity. This module does not store this velocity across frames, because modules that use this value calculate a new velocity value each frame.
ParticleSystemRenderer also uses animated velocity if Render Mode is set to ParticleSystemRenderMode.Stretch.