Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Particles > Attractor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UParticleModule
- UParticleModuleAttractorBase
- UParticleModuleAttractorPointGravity
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Particles/Attractor/ParticleModuleAttractorPointGravity.h |
Include | #include "Particles/Attractor/ParticleModuleAttractorPointGravity.h" |
Syntax
class UParticleModuleAttractorPointGravity : public UParticleModuleAttractorBase
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FVector | Position | The position of the point gravity source. |
![]() |
float | Radius | The distance at which the influence of the point begins to falloff. |
![]() |
FRawDistributionFloat | StrengthRaw | The strength of the point source. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UParticleModuleAttractorPointGravity
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Initializes the default values for this property |
Overridden from UParticleModule
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | CompileModule
(
FParticleEmitterBuildInfo& EmitterInfo |
Called once to compile the effects of this module on runtime simulation. |
![]() ![]() |
void | Render3DPreview
(
FParticleEmitterInstance* Owner, |
Render the modules 3D visualization helper primitive. |
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. | |
![]() ![]() |
void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TObjectPtr< class UDistributionFloat > | Strength_DEPRECATED | The strength of the point source. |