Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UParticleModule
Description
Generates a new module for LOD levels, setting the values appropriately. Note that the module returned could simply be the module it was called on.
| Name | GenerateLODModule |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Particles/ParticleModule.h |
| Include Path | #include "Particles/ParticleModule.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Particles/ParticleModules.cpp |
virtual UParticleModule * GenerateLODModule
(
UParticleLODLevel * SourceLODLevel,
UParticleLODLevel * DestLODLevel,
float Percentage,
bool bGenerateModuleData,
bool bForceModuleConstruction
)
UParticleModule* The generated module, or this if percentage == 100.
Parameters
| Name | Remarks |
|---|---|
| SourceLODLevel | The source LODLevel |
| DestLODLevel | The destination LODLevel |
| Percentage | The percentage value that should be used when setting values |