unreal.NiagaraSortMode

class unreal.NiagaraSortMode

Bases: unreal.EnumBase

ENiagara Sort Mode

C++ Source:

  • Plugin: Niagara

  • Module: Niagara

  • File: NiagaraGPUSortInfo.h

CUSTOM_ASCENDING

Sort according to particles CustomSortingBinding (defaults to Particles.NormalizedAge). Lower values will be sorted before higher values, i.e. 1 would draw on top of 0.

Type

3

CUSTOM_DECENDING

Sort according to particles CustomSortingBinding (defaults to Particles.NormalizedAge). Higher values will be sorted before lower values, i.e. 0 would draw on top of 1.

Type

4

NONE

Perform no additional sorting prior to rendering.

Type

0

VIEW_DEPTH

Sort by depth to the camera’s near plane.

Type

1

VIEW_DISTANCE

Sort by distance to the camera’s origin.

Type

2