Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Distributions.h |
| Include | #include "Distributions.h" |
Syntax
class FFloatDistribution
Remarks
Raw distribution from which one float can be looked up per entry.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetRandomValue
(
float Time, |
Samples a value randomly distributed between two values. | |
| void | GetRange
(
float* OutMin, |
Computes the range of the distribution. | |
| void | GetValue
(
float Time, |
Samples a value from the distribution. |