UParticleModuleLocationDirect::Spawn

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

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UParticleModule::Spawn()

UParticleModuleLocationDirect::Spawn()

References

Module

Engine

Header

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

Include

#include "Particles/Location/ParticleModuleLocationDirect.h"

Source

/Engine/Source/Runtime/Engine/Private/Particles/ParticleModules_Location.cpp

Syntax

virtual void Spawn
(
    FParticleEmitterInstance * Owner,
    int32 Offset,
    float SpawnTime,
    FBaseParticle * ParticleBase
)

Remarks

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

Parameters

Parameter

Description

Owner

The FParticleEmitterInstance that spawned the particle.

Offset

The modules offset into the data payload of the particle.

SpawnTime

The time of the spawn.