![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ParticleEmitterInstances.h>
Inheritance diagram for FParticleRibbonEmitterInstance:Protected Member Functions | |
| virtual bool | FillReplayData (FDynamicEmitterReplayDataBase &OutData) override |
Protected Member Functions inherited from FParticleTrailsEmitterInstance_Base | |
| UMaterialInterface * | GetCurrentMaterial () |
| bool | GetParticleInTrail (bool bSkipStartingParticle, FBaseParticle *InStartingFromParticle, FTrailsBaseTypeDataPayload *InStartingTrailData, EGetTrailDirection InGetDirection, EGetTrailParticleOption InGetOption, FBaseParticle *&OutParticle, FTrailsBaseTypeDataPayload *&OutTrailData) |
| virtual void | PrintParticleData (FBaseParticle *Particle, FTrailsBaseTypeDataPayload *TrailData, int32 CurrentIndex, int32 TrailIndex) |
| virtual void | PrintAllActiveParticles () |
| virtual void | PrintTrails () |
Protected Member Functions inherited from FParticleEmitterInstance | |
| ENGINE_API void | UpdateTransforms () |
| ENGINE_API class UParticleLODLevel * | GetCurrentLODLevelChecked () |
| ENGINE_API UMaterialInterface * | GetCurrentMaterial () |
| ENGINE_API void | FixupParticleIndices () |
Additional Inherited Members | |
Static Public Attributes inherited from FParticleEmitterInstance | |
| static ENGINE_API const float | PeakActiveParticleUpdateDelta = 0.05f |
Protected Types inherited from FParticleTrailsEmitterInstance_Base | |
| enum | EGetTrailDirection { GET_Prev , GET_Next } |
| enum | EGetTrailParticleOption { GET_Any , GET_Spawned , GET_Interpolated , GET_Start , GET_End } |
| FParticleRibbonEmitterInstance::FParticleRibbonEmitterInstance | ( | IParticleEmitterInstanceOwner & | InComponent | ) |
Constructor
|
virtual |
Destructor
|
overridevirtual |
Called on world origin changes
Reimplemented from FParticleEmitterInstance.
| void FParticleRibbonEmitterInstance::DetermineVertexAndTriangleCount | ( | ) |
Determine the number of vertices and triangles in each trail
|
overrideprotectedvirtual |
Captures dynamic replay data for this particle system.
| OutData | [Out] Data will be copied here |
Reimplemented from FParticleEmitterInstance.
|
overridevirtual |
Retrieve the allocated size of this instance.
| OutNum | The size of this instance |
| OutMax | The maximum size of this instance |
Reimplemented from FParticleEmitterInstance.
|
overridevirtual |
Retrieves the dynamic data for the emitter
Reimplemented from FParticleEmitterInstance.
| void FParticleRibbonEmitterInstance::GetParticleLifetimeAndSize | ( | int32 | InTrailIdx, |
| const FBaseParticle * | InParticle, | ||
| bool | bInNoLivingParticles, | ||
| float & | OutOneOverMaxLifetime, | ||
| float & | OutSize | ||
| ) |
Get the lifetime and size for a particle being added to the given trail
| InTrailIdx | The index of the trail the particle is being added to |
| InParticle | The particle that is being added |
| bInNoLivingParticles | true if there are no particles in the trail, false if there already are |
| OutOneOverMaxLifetime | The OneOverMaxLifetime value to use for the particle |
| OutSize | The Size value to use for the particle |
|
overridevirtual |
Retrieves replay data for the emitter
Reimplemented from FParticleEmitterInstance.
|
overridevirtual |
Returns the size of the object/ resource for display to artists/ LDs in the Editor.
| Mode | Specifies which resource size should be displayed. ( see EResourceSizeMode::Type ) |
Reimplemented from FParticleEmitterInstance.
|
virtual |
|
overridevirtual |
Reimplemented from FParticleTrailsEmitterInstance_Base.
|
overridevirtual |
Checks some common values for GetDynamicData validity
Reimplemented from FParticleEmitterInstance.
|
inlineoverridevirtual |
When an emitter is killed, this will check other emitters and clean up anything pointing to this one
Reimplemented from FParticleEmitterInstance.
| void FParticleRibbonEmitterInstance::ResolveSource | ( | ) |
| bool FParticleRibbonEmitterInstance::ResolveSourcePoint | ( | int32 | InTrailIdx, |
| FVector & | OutPosition, | ||
| FQuat & | OutRotation, | ||
| FVector & | OutUp, | ||
| FVector & | OutTangent, | ||
| float & | OutTangentStrength | ||
| ) |
Resolve the source point for the given trail index.
| InTrailIdx | The index of the trail to resolve |
| OutPosition | The position of the source |
| OutRotation | The rotation of the source |
| OutUp | The 'up' of the source (if required) |
| OutTangent | The tangent of the source |
| OutTangentStrength | The strength of the tangent of the source |
|
overridevirtual |
Reimplemented from FParticleTrailsEmitterInstance_Base.
Spawn particles for this emitter instance
| DeltaTime | The time slice to spawn over |
Reimplemented from FParticleEmitterInstance.
Spawn ribbon particles from SpawnRate and Burst settings.
| DeltaimTime | The current time slice |
Spawn source-based ribbon particles.
| DeltaTime | The current time slice |
|
overridevirtual |
Tick sub-function that handles recalculation of tangents
| DeltaTime | The current time slice |
| CurrentLODLevel | The current LOD level for the instance |
Reimplemented from FParticleTrailsEmitterInstance_Base.
|
overridevirtual |
Reimplemented from FParticleTrailsEmitterInstance_Base.
The current source position for each trail in this emitter
The current source rotation for each trail in this emitter
The current source tangent for each trail in this emitter
The current source tangent strength for each trail in this emitter
The current source up for each trail in this emitter
| int32 FParticleRibbonEmitterInstance::HeadOnlyParticles |
The direct index of the particle that is the start of each ribbon If true, then do not render the source (a real spawn just happened) The number of "head only" active particles
| int32 FParticleRibbonEmitterInstance::LastSelectedParticleIndex |
The last selected source index (for sequential selection)
The previous source position for each trail in this emitter
The last source rotation for each trail in this emitter
The previous source tangent for each trail in this emitter
The previous source tangent strength for each trail in this emitter
The time of the last partice source update
The previous source up for each trail in this emitter
| AActor* FParticleRibbonEmitterInstance::SourceActor |
If the source is an actor, this is it
| FParticleEmitterInstance* FParticleRibbonEmitterInstance::SourceEmitter |
If the source is an emitter, this is it
The indices for the source of each trail (if required)
| UParticleModuleTrailSource* FParticleRibbonEmitterInstance::SourceModule |
Source module
The offset from the source for each trail in this emitter
The time of the last partice source update
| UParticleModuleSpawnPerUnit* FParticleRibbonEmitterInstance::SpawnPerUnitModule |
SpawnPerUnit module (hijacking it for trails here)
| int32 FParticleRibbonEmitterInstance::TrailModule_Source_Offset |
Payload offset for source module
| UParticleModuleTypeDataRibbon* FParticleRibbonEmitterInstance::TrailTypeData |
The TypeData module for this trail emitter