ParticleSystem.RotationBySpeedModule
Script interface for the RotationBySpeedModule.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public struct ParticleSystem.RotationBySpeedModule
Remarks
Rotate particles based on their speed.
Additional Resources: ParticleSystem, _rotationBySpeed
Properties
Property | Description |
|---|---|
| enabled | ESpecifies whether the RotationBySpeedModule is enabled or disabled. |
| range | Set the minimum and maximum speeds that this module applies the rotation curve between. |
| separateAxes | Set the rotation by speed on each axis separately. |
| x | Rotation by speed curve for the x-axis. |
| xMultiplier | Speed multiplier along the x-axis. |
| y | Rotation by speed curve for the y-axis. |
| yMultiplier | Speed multiplier along the y-axis. |
| z | Rotation by speed curve for the z-axis. |
| zMultiplier | Speed multiplier along the z-axis. |