Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Particles > API/Runtime/Engine/Particles/Trail
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UParticleModule
- UParticleModuleTrailBase
- UParticleModuleTrailSource
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Particles/Trail/ParticleModuleTrailSource.h |
| Include | #include "Particles/Trail/ParticleModuleTrailSource.h" |
Syntax
class UParticleModuleTrailSource : public UParticleModuleTrailBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bInheritRotation | Interhit particle rotation - only valid for SourceMethod of PET2SRCM_Particle. | |
| uint32: 1 | bLockSourceStength | Whether to lock the source to the life of the particle. | |
| TEnumAsByte< enum EParticleSourceSelectionMethod > | SelectionMethod | Particle selection method, when using the SourceMethod of Particle. | |
| TEnumAsByte< enum ETrail2SourceMethod > | SourceMethod | The source method for the trail. | |
| FName | SourceName | The name of the source - either the emitter or Actor. | |
| int32 | SourceOffsetCount | SourceOffsetCount The number of source offsets that can be expected to be found on the instance. | |
| TArray< FVector > | SourceOffsetDefaults | Default offsets from the source(s). | |
| FRawDistributionFloat | SourceStrength | The strength of the tangent from the source point for each Trail. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UParticleModuleTrailSource
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Initializes the default values for this property | ||
| bool | ResolveSourceOffset
(
int32 InTrailIdx, |
Retrieve the SourceOffset for the given trail index. |
Overridden from UParticleModule
| Type | Name | Description | |
|---|---|---|---|
| void | AutoPopulateInstanceProperties
(
UParticleSystemComponent* PSysComp |
Helper function used by the editor to auto-populate a placed AEmitter with any instance parameters that are utilized. | |
| void | GetParticleSysParamsUtilized
(
TArray< FString >& ParticleSysParamList |
Retrieve the ParticleSysParams associated with this module. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |