Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Particles > API/Runtime/Engine/Particles/Attractor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UParticleModule
- UParticleModuleAttractorBase
- UParticleModuleAttractorLine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Particles/Attractor/ParticleModuleAttractorLine.h |
| Include | #include "Particles/Attractor/ParticleModuleAttractorLine.h" |
Syntax
UCLASS (EditInlineNew, HideCategories=Object, MinimalAPI, Meta=(DisplayName="Line Attractor"))
class UParticleModuleAttractorLine : public UParticleModuleAttractorBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector | EndPoint0 | The first endpoint of the line. | |
| FVector | EndPoint1 | The second endpoint of the line. | |
| FRawDistributionFloat | Range | The range of the line attractor. | |
| FRawDistributionFloat | Strength | The strength of the line attractor. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UParticleModuleAttractorLine
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Initializes the default values for this property |
Overridden from UParticleModule
| Type | Name | Description | |
|---|---|---|---|
| void | Render3DPreview
(
FParticleEmitterInstance* Owner, |
Render the modules 3D visualization helper primitive. | |
| void | Update
(
FParticleEmitterInstance* Owner, |
Called on a particle that is being updated by its emitter. |
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. |