Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UParticleModuleTrailSource
Description
Retrieve the SourceOffset for the given trail index. Currently, this is only intended for use by Ribbon emitters
| Name | ResolveSourceOffset |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Particles/Trail/ParticleModuleTrailSource.h |
| Include Path | #include "Particles/Trail/ParticleModuleTrailSource.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Particles/ParticleTrailModules.cpp |
bool ResolveSourceOffset
(
int32 InTrailIdx,
FParticleEmitterInstance * InEmitterInst,
FVector & OutSourceOffset
)
bool true if successful, false if not (including no offset)
Parameters
| Name | Remarks |
|---|---|
| InTrailIdx | The index of the trail whose offset is being retrieved |
| InEmitterInst | The EmitterInstance requesting the SourceOffset |
| OutSourceOffset | The source offset for the trail of interest |