UParticleModuleAttractorParticle

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Particles/Attractor/ParticleModuleAttractorParticle.h"

Syntax

class UParticleModuleAttractorParticle : 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

 

bInheritSourceVel

Whether the particle should inherit the source veloctiy if it expires.

Public variable

uint32: 1

 

bRenewSource

Whether the particle should grab a new particle if it's source expires.

Public variable

uint32: 1

 

bStrengthByDistance

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

Public variable

FName

 

EmitterName

The source emitter for attractors

Public variable

int32

 

LastSelIndex

Public variable

FRawDistributio...

 

Range

The radial range of the attraction around the source particle. Particle-life relative.

Public variable

TEnumAsByte< en...

 

SelectionMethod

The method to use when selecting an attractor target particle from the emitter.

Public variable

FRawDistributio...

 

Strength

The strength of the attraction (negative values repel).

Constructors

Name Description

Public function

UParticleModuleAttractorParticle

(
    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

uint32

 

RequiredBytes

(
    UParticleModuleTypeDataBase* T...
)

Returns the number of bytes that the module requires in the particle payload block.

Public function Virtual

void

 

Spawn

(
    FParticleEmitterInstance* Owne...,
    int32 Offset,
    float SpawnTime,
    FBaseParticle* ParticleBase
)

Called on a particle that is freshly spawned by the emitter.

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss