Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ParticleSystem.RotationBySpeedModule

Script interface for the RotationBySpeedModule.
Read time 1 minuteLast updated 5 days ago

Definition

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

Remarks

Rotate particles based on their speed.

Properties

Property

Description

enabledESpecifies whether the RotationBySpeedModule is enabled or disabled.
rangeSet the minimum and maximum speeds that this module applies the rotation curve between.
separateAxesSet the rotation by speed on each axis separately.
xRotation by speed curve for the x-axis.
xMultiplierSpeed multiplier along the x-axis.
yRotation by speed curve for the y-axis.
yMultiplierSpeed multiplier along the y-axis.
zRotation by speed curve for the z-axis.
zMultiplierSpeed multiplier along the z-axis.