Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Distributions
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Distributions/DistributionFloat.h |
| Include | #include "Distributions/DistributionFloat.h" |
Syntax
USTRUCT (NoExport )
class FFloatDistribution
Remarks
Type-safe floating point distribution.
Raw distribution from which one float can be looked up per entry.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FDistributionLookupTable | Table |
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. |