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 |
|---|---|
| Depth | Sort based on depth from the camera plane. |
| DepthReverse | Sort based on reverse depth from the camera plane. |
| Distance | Sort based on distance to the camera position. For orthographic cameras, this mode is the same as sorting by depth. |
| DistanceReverse | Sort based on reverse distance to the camera position. For orthographic cameras, this mode is the same as sorting by depth. |
| None | No sorting. |
| OldestInFront | Sort the oldest particles to the front. |
| YoungestInFront | Sort the youngest particles to the front. |