Navigation
Unreal Engine C++ API Reference > Runtime > Engine
Inheritance Hierarchy
- FParticleEmitterInstance
- FParticleTrailsEmitterInstance_Base
- FParticleRibbonEmitterInstance
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/ParticleEmitterInstances.h |
Include | #include "ParticleEmitterInstances.h" |
Syntax
struct FParticleRibbonEmitterInstance : public FParticleTrailsEmitterInstance_Base
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< float > | CurrentLifetimes | The lifetime to use for each ribbon |
![]() |
TArray< float > | CurrentSizes | The size to use for each ribbon |
![]() |
TArray< FVector > | CurrentSourcePosition | The current source position for each trail in this emitter |
![]() |
TArray< FQuat > | CurrentSourceRotation | The current source rotation for each trail in this emitter |
![]() |
TArray< FVector > | CurrentSourceTangent | The current source tangent for each trail in this emitter |
![]() |
TArray< float > | CurrentSourceTangentStrength | The current source tangent strength for each trail in this emitter |
![]() |
TArray< FVector > | CurrentSourceUp | The current source up for each trail in this emitter |
![]() |
int32 | HeadOnlyParticles | TArray |
![]() |
int32 | LastSelectedParticleIndex | The last selected source index (for sequential selection) |
![]() |
TArray< FVector > | LastSourcePosition | The previous source position for each trail in this emitter |
![]() |
TArray< FQuat > | LastSourceRotation | The last source rotation for each trail in this emitter |
![]() |
TArray< FVector > | LastSourceTangent | The previous source tangent for each trail in this emitter |
![]() |
TArray< float > | LastSourceTangentStrength | The previous source tangent strength for each trail in this emitter |
![]() |
TArray< float > | LastSourceTimes | The time of the last partice source update |
![]() |
TArray< FVector > | LastSourceUp | The previous source up for each trail in this emitter |
![]() |
AActor * | SourceActor | If the source is an actor, this is it |
![]() |
FParticleEmitterInstance * | SourceEmitter | If the source is an emitter, this is it |
![]() |
TArray< int32 > | SourceIndices | The indices for the source of each trail (if required) |
![]() |
UParticleModuleTrailSource * | SourceModule | Source module |
![]() |
TArray< FVector > | SourceOffsets | The offset from the source for each trail in this emitter |
![]() |
TArray< float > | SourceTimes | The time of the last partice source update |
![]() |
UParticleModuleSpawnPerUnit * | SpawnPerUnitModule | SpawnPerUnit module (hijacking it for trails here) |
![]() |
int32 | TrailModule_Source_Offset | Payload offset for source module |
![]() |
UParticleModuleTypeDataRibbon * | TrailTypeData | The TypeData module for this trail emitter |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Constructor |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Destructor |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Determine the number of vertices and triangles in each trail | |
![]() |
void | GetParticleLifetimeAndSize
(
int32 InTrailIdx, |
Get the lifetime and size for a particle being added to the given trail |
![]() ![]() |
bool | GetSpawnPerUnitAmount
(
float DeltaTime, |
|
![]() |
void | ||
![]() |
bool | ResolveSourcePoint
(
int32 InTrailIdx, |
Virtual void UpdateStartParticles(float DeltaTime, bool bFirstTime); |
![]() |
float | Spawn_RateAndBurst
(
float DeltaTime |
Spawn ribbon particles from SpawnRate and Burst settings. |
![]() |
bool | Spawn_Source
(
float DeltaTime |
Spawn source-based ribbon particles. |
Overridden from FParticleTrailsEmitterInstance_Base
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ||
![]() ![]() |
void | Tick_RecalculateTangents
(
float DeltaTime, |
Tick sub-function that handles recalculation of tangents |
![]() ![]() |
void | UpdateSourceData
(
float DeltaTime, |
Overridden from FParticleEmitterInstance
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ApplyWorldOffset
(
FVector InOffset, |
Called on world origin changes |
![]() ![]() |
bool | FillReplayData
(
FDynamicEmitterReplayDataBase& OutData |
Captures dynamic replay data for this particle system. |
![]() ![]() |
void | GetAllocatedSize
(
int32& OutNum, |
Retrieve the allocated size of this instance. |
![]() ![]() |
FDynamicEmitterDataBase * | GetDynamicData
(
bool bSelected, |
Retrieves the dynamic data for the emitter |
![]() ![]() |
FDynamicEmitterReplayDataBase * | Retrieves replay data for the emitter | |
![]() ![]() |
void | GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Returns the size of the object/ resource for display to artists/ LDs in the Editor. |
![]() ![]() |
void | InitParameters
(
UParticleEmitter* InTemplate, |
|
![]() ![]() |
bool | IsDynamicDataRequired
(
UParticleLODLevel* CurrentLODLevel |
Checks some common values for GetDynamicData validity |
![]() ![]() |
void | OnEmitterInstanceKilled
(
FParticleEmitterInstance* Instance |
When an emitter is killed, this will check other emitters and clean up anything pointing to this one |
![]() ![]() |
float | Spawn
(
float DeltaTime |
Spawn particles for this emitter instance |