Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FFloatDistribution
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Distributions.h |
| Include | #include "Distributions.h" |
void GetRandomValue
&40;
float Time,
float &42;restrict OutValue,
FRandomStream & RandomStream
&41; const
Remarks
Samples a value randomly distributed between two values.
Parameters
| Name | Description |
|---|---|
| Time | Time at which to sample the distribution. |
| OutValue | Upon return contains the sampled value. |
| RandomStream | Random stream from which to retrieve random fractions. |