Navigation
Unreal Engine C++ API Reference > Runtime > Engine
Inheritance Hierarchy
- FParticleEmitterInstance
- FParticleTrailsEmitterInstance_Base
- FParticleAnimTrailEmitterInstance
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/ParticleEmitterInstances.h |
Include | #include "ParticleEmitterInstances.h" |
Syntax
struct FParticleAnimTrailEmitterInstance : public FParticleTrailsEmitterInstance_Base
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
uint32: 1 | bRenderGeometry | Editor only variables controlling the debug rendering for trails. |
![]() |
uint32: 1 | bRenderSpawnPoints | |
![]() |
uint32: 1 | bRenderTangents | |
![]() |
uint32: 1 | bRenderTessellation | |
![]() |
bool | bTagTrailAsDead | When set, the current trail will be marked as dead in the next tick. |
![]() |
bool | bTrailEnabled | Whether new particles should be spawned. |
![]() |
FName | FirstSocketName | The name of the socket that supplies the first edge for this emitter. |
![]() |
int32 | HeadOnlyParticles | The number of particles in the trail which are either marked |
![]() |
const void * | Owner | The owner of this trail. |
![]() |
FName | SecondSocketName | The name of the socket that supplies the second edge for this emitter. |
![]() |
UParticleModuleSpawnPerUnit * | SpawnPerUnitModule | SpawnPerUnit module (hijacking it for trails here) |
![]() |
UParticleModuleTypeDataAnimTrail * | TrailTypeData | The TypeData module for this trail emitter |
![]() |
float | Width | The width of the trail. |
![]() |
ETrailWidthMode | WidthMode | How the width is applied to the trail. |
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 | |
![]() ![]() |
bool | GetSpawnPerUnitAmount
(
float DeltaTime, |
|
![]() ![]() |
bool | ||
![]() ![]() |
void | RecalculateTangentAndInterpolationParam
(
FBaseParticle* PrevParticle, |
Helper function for recalculating tangents and the spline interpolation parameter... |
![]() |
void | ||
![]() |
void | SetTrailDebugData
(
bool bInRenderGeometry, |
Sets various debug variables for trails. |
![]() |
void | SpawnParticle
(
int32& StartParticleIndex, |
Helper to spawn a trail particle during SpawnParticles(). |
Overridden from FParticleTrailsEmitterInstance_Base
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
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 | ||
![]() ![]() |
void | Tick_RecalculateTangents
(
float DeltaTime, |
Tick sub-function that handles recalculation of tangents |
![]() ![]() |
void | UpdateSourceData
(
float DeltaTime, |
Overridden from FParticleEmitterInstance
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | BeginTrail () |
Begins the trail. |
![]() ![]() |
void | EndTrail () |
Ends the trail. |
![]() ![]() |
bool | FillReplayData
(
FDynamicEmitterReplayDataBase& OutData |
Captures dynamic replay data for this particle system. |
![]() ![]() |
void | Force the bounding box to be updated. | |
![]() ![]() |
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. |
![]() ![]() |
bool | HasCompleted () |
Has the instance completed it's run? |
![]() ![]() |
void | InitParameters
(
UParticleEmitter* InTemplate, |
|
![]() ![]() ![]() |
bool | ||
![]() ![]() |
void | SetTrailSourceData
(
FName InFirstSocketName, |
Sets the date that defines this trail. |
![]() ![]() |
float | Spawn
(
float DeltaTime |
Spawn particles for this emitter instance |
![]() ![]() |
void | UpdateBoundingBox
(
float DeltaTime |
Update the bounding box for the emitter |