UParticleModule::GenerateLODModule

Generates a new module for LOD levels, setting the values appropriately.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Particles/ParticleModule.h

Include

#include "Particles/ParticleModule.h"

Source

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

Syntax

virtual UParticleModule * GenerateLODModule
(
    UParticleLODLevel * SourceLODLevel,
    UParticleLODLevel * DestLODLevel,
    float Percentage,
    bool bGenerateModuleData,
    bool bForceModuleConstruction
)

Remarks

Generates a new module for LOD levels, setting the values appropriately.

that the module returned could simply be the module it was called on. @param SourceLODLevel The source LODLevel @param DestLODLevel The destination LODLevel @param Percentage The percentage value that should be used when setting values

@return UParticleModule* The generated module, or this if percentage == 100.