Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ParticleSystem.SizeBySpeedModule

Script interface for the SizeBySpeedModule.
Read time 1 minuteLast updated 6 days ago

Definition

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

Remarks

This module controls the size of particles based on their speeds.

Properties

Property

Description

enabledSpecifies whether the SizeBySpeedModule is enabled or disabled.
rangeSet the minimum and maximum speed that this modules applies the size curve between.
separateAxesSet the size by speed on each axis separately.
sizeCurve to control particle size based on speed.
sizeMultiplierA multiplier for _size.
xSize by speed curve for the x-axis.
xMultiplierSize multiplier along the x-axis.
ySize by speed curve for the y-axis.
yMultiplierSize multiplier along the y-axis.
zSize by speed curve for the z-axis.
zMultiplierSize multiplier along the z-axis.