文档

Unity Engine

Unity Engine

ParticleSystemSortMode

The sorting mode for particle systems.
阅读时间1 分钟最后更新于 1 个月前

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.