Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ParticleSystemSortMode

The sorting mode for particle systems.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public enum ParticleSystemSortMode

Fields

Value

Description

DepthSort based on depth from the camera plane.
DepthReverseSort based on reverse depth from the camera plane.
DistanceSort based on distance to the camera position. For orthographic cameras, this mode is the same as sorting by depth.
DistanceReverseSort based on reverse distance to the camera position. For orthographic cameras, this mode is the same as sorting by depth.
NoneNo sorting.
OldestInFrontSort the oldest particles to the front.
YoungestInFrontSort the youngest particles to the front.