UParticleModuleAttractorPoint

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Particles/Attractor/ParticleModuleAttractorPoint.h

Include

#include "Particles/Attractor/ParticleModuleAttractorPoint.h"

Syntax

class UParticleModuleAttractorPoint : public UParticleModuleAttractorBase

Variables

Name Description

Public variable

uint32: 1

 

bAffectBaseVelocity

If true, the velocity adjustment will be applied to the base velocity.

Public variable

uint32: 1

 

bOverrideVelocity

If true, set the velocity.

Public variable

uint32: 1

 

bUseWorldSpacePosition

If true, treat the position as world space. So don't transform the the point to localspace.

Public variable

uint32: 1

 

Negative_X

Whether particles can move along the negative X axis.

Public variable

uint32: 1

 

Negative_Y

Whether particles can move along the negative Y axis.

Public variable

uint32: 1

 

Negative_Z

Whether particles can move along the negative Z axis.

Public variable

FRawDistributio...

 

Position

The position of the point attractor from the source of the emitter.

Public variable

uint32: 1

 

Positive_X

Whether particles can move along the positive X axis.

Public variable

uint32: 1

 

Positive_Y

Whether particles can move along the positive Y axis.

Public variable

uint32: 1

 

Positive_Z

Whether particles can move along the positive Z axis.

Public variable

FRawDistributio...

 

Range

The radial range of the attractor.

Public variable

FRawDistributio...

 

Strength

The strength of the point attractor.

Public variable

uint32: 1

 

StrengthByDistance

The strength curve is a function of distance or of time.

Constructors

Name Description

Public function

UParticleModuleAttractorPoint

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

InitializeDefaults()

Initializes the default values for this property

Overridden from UParticleModule

Name Description

Public function Virtual

void

 

Render3DPreview

(
    FParticleEmitterInstance* Owne...,
    const FSceneView* View,
    FPrimitiveDrawInterface* PDI
)

Render the modules 3D visualization helper primitive.

Public function Virtual

void

 

Update

(
    FParticleEmitterInstance* Owne...,
    int32 Offset,
    float DeltaTime
)

Called on a particle that is being updated by its emitter.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.