Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

InheritVelocityModule

struct in UnityEngine

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 InheritVelocityModule.

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, 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.