ParticleSystemSortMode
The sorting mode for particle systems.
阅读时间1 分钟最后更新于 1 个月前
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. |