FDynamicSpriteEmitterDataBase::SortSpriteParticles

Sort the given sprite particles

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ParticleHelper.h

Include

#include "ParticleHelper.h"

Source

/Engine/Source/Runtime/Engine/Private/Particles/ParticleSystemRender.cpp

Syntax

void SortSpriteParticles
(
    int32 SortMode,
    bool bLocalSpace,
    int32 ParticleCount,
    const uint8 * ParticleData,
    int32 ParticleStride,
    const uint16 * ParticleIndices,
    const FSceneView * View,
    const FMatrix & LocalToWorld,
    FParticleOrder * ParticleOrder
) const

Remarks

Sort the given sprite particles

Parameters

Parameter

Description

SorceMode

The sort mode to utilize (EParticleSortMode)

bLocalSpace

true if the emitter is using local space

ParticleCount

The number of particles

ParticleData

The actual particle data

ParticleStride

The stride between entries in the ParticleData array

ParticleIndices

Indirect index list into ParticleData

View

The scene view being rendered

LocalToWorld

The local to world transform of the component rendering the emitter

ParticleOrder

The array to fill in with ordered indices

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss