UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FTrailsBaseTypeDataPayload Struct Reference

#include <ParticleHelper.h>

+ Inheritance diagram for FTrailsBaseTypeDataPayload:

Public Attributes

int32 Flags
 
int32 TrailIndex
 
int32 TriangleCount
 
float SpawnTime
 
float SpawnDelta
 
float TiledU
 
int32 SpawnedTessellationPoints
 
int32 RenderingInterpCount
 
float PinchScaleFactor
 
uint32 bInterpolatedSpawn:1
 
uint32 bMovementSpawned:1
 

Detailed Description

Trails Base data payload

Member Data Documentation

◆ bInterpolatedSpawn

uint32 FTrailsBaseTypeDataPayload::bInterpolatedSpawn

true if the particle is an interpolated spawn, false if true position based.

◆ bMovementSpawned

uint32 FTrailsBaseTypeDataPayload::bMovementSpawned

true if the particle was spawn via movement, false if not.

◆ Flags

int32 FTrailsBaseTypeDataPayload::Flags

TRAIL_EMITTER_FLAG_MASK 0xf0000000 TRAIL_EMITTER_PREV_MASK 0x0fffc000 TRAIL_EMITTER_PREV_SHIFT 14 TRAIL_EMITTER_NEXT_MASK 0x00003fff TRAIL_EMITTER_NEXT_SHIFT 0

Type and indexing flags 3 1 0 1...|...|...|...5...|...|...|..0 TtttPpppppppppppppNnnnnnnnnnnnnn

Tttt = Type flags 0x0 = ForceKill - the trail should be completely killed in the next KillParticles call. 0x1 = DeadTrail - the trail should no longer spawn particles. Just let it die out as particles in it fade. 0x2 = Middle - indicates this is a particle in the middle of a trail. 0x4 = Start - indicates this is the first particle in a trail. 0x8 = End - indicates this is the last particle in a trail. Pppppppppppppp = Previous index Nnnnnnnnnnnnnn = Next index

◆ PinchScaleFactor

float FTrailsBaseTypeDataPayload::PinchScaleFactor

The scale factor to use to shrink up in tight curves

◆ RenderingInterpCount

int32 FTrailsBaseTypeDataPayload::RenderingInterpCount

The number of points to interpolate between this particle and the next when rendering

◆ SpawnDelta

float FTrailsBaseTypeDataPayload::SpawnDelta

The time slice when the particle was spawned

◆ SpawnedTessellationPoints

int32 FTrailsBaseTypeDataPayload::SpawnedTessellationPoints

The tessellated spawn points between this particle and the next one

◆ SpawnTime

float FTrailsBaseTypeDataPayload::SpawnTime

The time that the particle was spawned

◆ TiledU

float FTrailsBaseTypeDataPayload::TiledU

The starting tiled U value for this particle

◆ TrailIndex

int32 FTrailsBaseTypeDataPayload::TrailIndex

The trail index - valid in a START particle only

◆ TriangleCount

int32 FTrailsBaseTypeDataPayload::TriangleCount

The number of triangles in the trail - valid in a START particle only


The documentation for this struct was generated from the following file: