UParticleModule::GenerateLODModule

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

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. Note that the module returned could simply be the module it was called on.

Returns

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

Parameters

Parameter

Description

SourceLODLevel

The source LODLevel

DestLODLevel

The destination LODLevel

Percentage

The percentage value that should be used when setting values

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss