Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Particles > UParticleModule
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 |
virtual bool ConvertFloatDistribution
&40;
UDistributionFloat &42; FloatDist,
UDistributionFloat &42; SourceFloatDist,
float Percentage
&41;
Remarks
Store the given percentage of the SourceFloat distribution in the FloatDist bool true if successful, false if not.
Parameters
Name | Description |
---|---|
FloatDist | The distribution to put the result into. |
SourceFloatDist | The distribution of use as the source. |
Percentage | The percentage of the source value to use [0..100] |