Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FDynamicSpriteEmitterDataBase
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ParticleHelper.h |
| Include | #include "ParticleHelper.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Particles/ParticleSystemRender.cpp |
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
| Name | 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 |