UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FParticleRandomSeedInfo Struct Reference

#include <ParticleModule.h>

Public Member Functions

 FParticleRandomSeedInfo ()
 
int32 GetInstancePayloadSize () const
 

Public Attributes

FName ParameterName
 
uint8 bGetSeedFromInstance:1
 
uint8 bInstanceSeedIsIndex:1
 
uint8 bResetSeedOnEmitterLooping:1
 
uint8 bRandomlySelectSeedArray:1
 
TArray< int32RandomSeeds
 

Constructor & Destructor Documentation

◆ FParticleRandomSeedInfo()

FParticleRandomSeedInfo::FParticleRandomSeedInfo ( )
inline

Member Function Documentation

◆ GetInstancePayloadSize()

int32 FParticleRandomSeedInfo::GetInstancePayloadSize ( ) const
inline

Member Data Documentation

◆ bGetSeedFromInstance

uint8 FParticleRandomSeedInfo::bGetSeedFromInstance

If true, the module will attempt to get the seed from the owner instance. If that fails, it will fall back to getting it from the RandomSeeds array.

◆ bInstanceSeedIsIndex

uint8 FParticleRandomSeedInfo::bInstanceSeedIsIndex

If true, the seed value retrieved from the instance will be an index into the array of seeds.

◆ bRandomlySelectSeedArray

uint8 FParticleRandomSeedInfo::bRandomlySelectSeedArray

If true, then randomly select a seed entry from the RandomSeeds array

◆ bResetSeedOnEmitterLooping

uint8 FParticleRandomSeedInfo::bResetSeedOnEmitterLooping

If true, then reset the seed upon the emitter looping. For looping environmental effects this should likely be set to false to avoid a repeating pattern.

◆ ParameterName

FName FParticleRandomSeedInfo::ParameterName

The name to expose to the placed instances for setting this seed

◆ RandomSeeds

TArray<int32> FParticleRandomSeedInfo::RandomSeeds

The random seed values to utilize for the module. More than 1 means the instance will randomly select one.


The documentation for this struct was generated from the following file: