Choose your operating system:
Windows
macOS
Linux
Module |
|
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
(
UDistributionFloat * FloatDist,
UDistributionFloat * SourceFloatDist,
float Percentage
)
Store the given percentage of the SourceFloat distribution in the FloatDist
bool true if successful, false if not.
Parameter |
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] |