Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UParticleModuleAttractorParticle |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Particles/Attractor/ParticleModuleAttractorParticle.h |
| Include Path | #include "Particles/Attractor/ParticleModuleAttractorParticle.h" |
Syntax
UCLASS (EditInlineNew, HideCategories=Object, MinimalAPI, Meta=(DisplayName="Particle Attractor"))
class UParticleModuleAttractorParticle : public UParticleModuleAttractorBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UParticleModule → UParticleModuleAttractorBase → UParticleModuleAttractorParticle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UParticleModuleAttractorParticle
(
const FObjectInitializer& ObjectInitializer |
Particles/Attractor/ParticleModuleAttractorParticle.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAffectBaseVelocity | uint32 | If true, the velocity adjustment will be applied to the base velocity. | Particles/Attractor/ParticleModuleAttractorParticle.h |
|
| bInheritSourceVel | uint32 | Whether the particle should inherit the source veloctiy if it expires. | Particles/Attractor/ParticleModuleAttractorParticle.h |
|
| bRenewSource | uint32 | Whether the particle should grab a new particle if it's source expires. | Particles/Attractor/ParticleModuleAttractorParticle.h |
|
| bStrengthByDistance | uint32 | The strength curve is a function of distance or of time. | Particles/Attractor/ParticleModuleAttractorParticle.h |
|
| EmitterName | FName | The source emitter for attractors | Particles/Attractor/ParticleModuleAttractorParticle.h |
|
| LastSelIndex | int32 | Particles/Attractor/ParticleModuleAttractorParticle.h | ||
| Range | FRawDistributionFloat | The radial range of the attraction around the source particle. Particle-life relative. | Particles/Attractor/ParticleModuleAttractorParticle.h |
|
| SelectionMethod | TEnumAsByte< enum EAttractorParticleSelectionMethod > | The method to use when selecting an attractor target particle from the emitter. | Particles/Attractor/ParticleModuleAttractorParticle.h |
|
| Strength | FRawDistributionFloat | The strength of the attraction (negative values repel). | Particles/Attractor/ParticleModuleAttractorParticle.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitializeDefaults() |
Initializes the default values for this property | Particles/Attractor/ParticleModuleAttractorParticle.h |
Overridden from UParticleModule
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual uint32 RequiredBytes
(
UParticleModuleTypeDataBase* TypeData |
Returns the number of bytes that the module requires in the particle payload block. | Particles/Attractor/ParticleModuleAttractorParticle.h | |
virtual void Spawn
(
const FSpawnContext& Context |
Particles/Attractor/ParticleModuleAttractorParticle.h | ||
virtual void Update
(
const FUpdateContext& Context |
Particles/Attractor/ParticleModuleAttractorParticle.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Particles/Attractor/ParticleModuleAttractorParticle.h | ||
virtual void PostInitProperties() |
Particles/Attractor/ParticleModuleAttractorParticle.h |