Class ParticleSortMode
The particles sorting modes.
Inheritance
System.Object
ParticleSortMode
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class ParticleSortMode : Enum
Fields
CustomAscending
The custom sorting according to a per particle attribute. Lower values are rendered before higher values.
Declaration
public const ParticleSortMode CustomAscending
Field Value
ParticleSortMode
|
CustomDescending
The custom sorting according to a per particle attribute. Higher values are rendered before lower values.
Declaration
public const ParticleSortMode CustomDescending
Field Value
ParticleSortMode
|
None
Do not perform additional sorting prior to rendering.
Declaration
public const ParticleSortMode None
Field Value
ParticleSortMode
|
value__
Declaration
public int value__
Field Value
System.Int32
|
ViewDepth
Sorts particles by depth to the view's near plane.
Declaration
public const ParticleSortMode ViewDepth
Field Value
ParticleSortMode
|
ViewDistance
Sorts particles by distance to the view's origin.
Declaration
public const ParticleSortMode ViewDistance
Field Value
ParticleSortMode
|