unreal.NiagaraSortMode

class unreal.NiagaraSortMode

Bases: unreal.EnumBase

ENiagara Sort Mode

C++ Source:

  • Plugin: Niagara

  • Module: Niagara

  • File: NiagaraGPUSortInfo.h

CUSTOM_ASCENDING

Custom sorting according to a per particle attribute. Which attribute is defined by the renderer’s CustomSortingBinding which defaults to Particles.NormalizedAge. Lower values are rendered before higher values.

Type

3

CUSTOM_DECENDING

Custom sorting according to a per particle attribute. Which attribute is defined by the renderer’s CustomSortingBinding which defaults to Particles.NormalizedAge. Higher values are rendered before lower values.

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