Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FParticleEmitterInstance
- FParticleTrailsEmitterInstance_Base
- FParticleAnimTrailEmitterInstance
- FParticleRibbonEmitterInstance
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ParticleEmitterInstances.h |
| Include | #include "ParticleEmitterInstances.h" |
Syntax
struct FParticleTrailsEmitterInstance_Base : public FParticleEmitterInstance
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bDeadTrailsOnDeactivate | If true, mark trails dead on deactivate | |
| uint32: 1 | bEnableInactiveTimeTracking | If true, when the system checks for particles to kill, it will use elapsed gametime to make the determination. | |
| uint32: 1 | bFirstUpdate | If true, this emitter has not been updated yet... | |
| TArray< float > | LastSpawnTime | The last time a spawn happened for each trail in this emitter | |
| float | LastTickTime | The last time the emitter instance was ticked | |
| int32 | MaxTrailCount | The max number of trails this emitter is allowed to have | |
| float | RunningTime | The running time for this instance w/ ActiveParticles > 0 | |
| TArray< float > | SourceDistanceTraveled | The distance traveled by each source of each trail in this emitter | |
| TArray< float > | TiledUDistanceTraveled | The distance traveled by each source of each trail in this emitter | |
| int32 | TrailCount | The number of active trails in this emitter | |
| TArray< float > | TrailSpawnTimes | The Spawn times for each trail in this emitter | |
| int32 | TriangleCount | The triangle count for this emitter | |
| int32 | VertexCount | The vertex count for this emitter |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddParticleHelper
(
int32 InTrailIdx, |
||
| void | |||
| bool | CheckForCircularTrail
(
FBaseParticle* StartParticle, |
||
| void | CheckIndices
(
int32 TrailIdx |
||
| void | ClearIndices
(
int32 TrailIndex, |
||
| void | |||
| UMaterialInterface * | Get the current material to render with. | ||
| bool | GetParticleInTrail
(
bool bSkipStartingParticle, |
Retrieve the particle in the trail that meets the given criteria | |
| void | GetTrailEnd
(
const int32 TrailIdx, |
||
| void | GetTrailStart
(
const int32 TrailIdx, |
||
| void | KillParticles
(
int32 InTrailIdx, |
Kill the given number of particles from the end of the trail. | |
| void | Prints out info for all active particles. | ||
| void | PrintParticleData
(
FBaseParticle* Particle, |
Prints out info for a single particle. | |
| void | PrintTrails () |
Traverses all trails and prints out debugging info. | |
| void | SetDeadIndex
(
int32 TrailIndex, |
||
| void | SetEndIndex
(
int32 TrailIndex, |
||
| void | SetStartIndex
(
int32 TrailIndex, |
||
| 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 | Force the bounding box to be updated. | ||
| void | Init () |
Initialize the instance | |
| void | InitParameters
(
UParticleEmitter* InTemplate, |
||
| void | Kill off any dead particles. (Remove them from the active array) | ||
| void | Virtual void UpdateStartParticles(float DeltaTime, bool bFirstTime) {} | ||
| void | Tick
(
float DeltaTime, |
Tick the instance. | |
| void | UpdateBoundingBox
(
float DeltaTime |
Update the bounding box for the emitter |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EGetTrailDirection | |||
| EGetTrailParticleOption |