UParticleModuleCollision::GenerateLODModuleValues

Helper function used by the editor to auto-generate LOD values from a source module and a percentage value used to scale its values.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UParticleModule::GenerateLODModuleValues()

UParticleModuleCollision::GenerateLODModuleValues()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Particles/Collision/ParticleModuleCollision.h

Include

#include "Particles/Collision/ParticleModuleCollision.h"

Source

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

Syntax

virtual bool GenerateLODModuleValues
(
    UParticleModule * SourceModule,
    float Percentage,
    UParticleLODLevel * LODLevel
)

Remarks

Helper function used by the editor to auto-generate LOD values from a source module and a percentage value used to scale its values.

Returns

true if successful false if failed

Parameters

Parameter

Description

SourceModule

The module to use as the source for values

Percentage

The percentage of the source values to set

LODLevel

The LOD level being generated