ドキュメント

Unity Engine

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.