UParticleModuleLocationPrimitiveSphere::SpawnEx

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

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

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

Include

#include "Particles/Location/ParticleModuleLocationPrimitiveSphere.h"

Source

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

Syntax

void SpawnEx
(
    FParticleEmitterInstance * Owner,
    int32 Offset,
    float SpawnTime,
    struct FRandomStream * InRandomStream,
    FBaseParticle * ParticleBase
)

Remarks

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

Parameters

Parameter

Description

Owner

The particle emitter instance that is spawning

Offset

The offset to the modules payload data

SpawnTime

The time of the spawn

InRandomStream

The random stream to use for retrieving random values