Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Particles > Spawn > UParticleModuleSpawn
- UParticleModule::GenerateLODModuleValues()
- UParticleModuleSpawn::GenerateLODModuleValues()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Particles/Spawn/ParticleModuleSpawn.h |
Include | #include "Particles/Spawn/ParticleModuleSpawn.h" |
Source | /Engine/Source/Runtime/Engine/Private/Particles/ParticleModules_Spawn.cpp |
virtual bool GenerateLODModuleValues
&40;
UParticleModule &42; SourceModule,
float Percentage,
UParticleLODLevel &42; LODLevel
&41;
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. true if successful false if failed
Parameters
Name | 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 |