기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


totalVelocity

The total velocity of the particle.
읽는 시간 1분최근 업데이트: 22일 전

Definition

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

Remarks

This is calculated as the sum of ParticleSystem.Particle.velocity and ParticleSystem.Particle.animatedVelocity. Some particle features use the physics-based velocity, and other features use the animated velocity. Use this property to obtain the total combined velocity of the particle.