Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Particles > API/Runtime/Engine/Particles/Attractor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UParticleModule
- UParticleModuleAttractorBase
- UParticleModuleAttractorPoint
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Particles/Attractor/ParticleModuleAttractorPoint.h |
| Include | #include "Particles/Attractor/ParticleModuleAttractorPoint.h" |
Syntax
UCLASS (EditInlineNew, HideCategories=Object, MinimalAPI, Meta=(DisplayName="Point Attractor"))
class UParticleModuleAttractorPoint : public UParticleModuleAttractorBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bAffectBaseVelocity | If true, the velocity adjustment will be applied to the base velocity. | |
| uint32: 1 | bOverrideVelocity | If true, set the velocity. | |
| uint32: 1 | bUseWorldSpacePosition | If true, treat the position as world space. So don't transform the the point to localspace. | |
| uint32: 1 | Negative_X | Whether particles can move along the negative X axis. | |
| uint32: 1 | Negative_Y | Whether particles can move along the negative Y axis. | |
| uint32: 1 | Negative_Z | Whether particles can move along the negative Z axis. | |
| FRawDistributionVector | Position | The position of the point attractor from the source of the emitter. | |
| uint32: 1 | Positive_X | Whether particles can move along the positive X axis. | |
| uint32: 1 | Positive_Y | Whether particles can move along the positive Y axis. | |
| uint32: 1 | Positive_Z | Whether particles can move along the positive Z axis. | |
| FRawDistributionFloat | Range | The radial range of the attractor. | |
| FRawDistributionFloat | Strength | The strength of the point attractor. | |
| uint32: 1 | StrengthByDistance | The strength curve is a function of distance or of time. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UParticleModuleAttractorPoint
(
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. |