Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ParticleSystem.InheritVelocityModule

Script interface for InheritVelocityModule.
Read time 1 minuteLast updated 10 days ago

Definition

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

Remarks

This module controls how the emitter tranfers its velocity to the particles as it emits them. It applies velocities to particles based on the velocity of the GameObject that spawned them. For most Particle Systems, this is the GameObject velocity, but for sub-emitters, the velocity comes from the parent particle that the sub-emitter particle originated from.
Additional Resources: ParticleSystem, _inheritVelocity

Properties

Property

Description

curveCurve to define how much of the emitter velocity the system applies during the lifetime of a particle.
curveMultiplierChange the curve multiplier.
enabledSpecifies whether the InheritVelocityModule is enabled or disabled.
modeSpecifies how to apply emitter velocity to particles.