UParticleModuleLocation

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Particles/Location/ParticleModuleLocation.h

Include

#include "Particles/Location/ParticleModuleLocation.h"

Syntax

class UParticleModuleLocation : public UParticleModuleLocationBase

Variables

Name Description

Public variable

float

 

DistributeOverNPoints

When set to a non-zero value this will force the particles to only spawn on evenly distributed positions between the two points specified.

Public variable

float

 

DistributeThreshold

When DistributeOverNPoints is set to a non-zero value, this specifies the ratio of particles spawned that should use the distribution.

Public variable

FRawDistributio...

 

StartLocation

The location the particle should be emitted.

Constructors

Name Description

Public function

UParticleModuleLocation

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

InitializeDefaults()

Initializes the default values for this property

Protected function Virtual

void

 

SpawnEx

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

Extended version of spawn, allows for using a random stream for distribution value retrieval

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

 

Spawn

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

Called on a particle that is freshly spawned by the 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