Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Distributions
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Distributions/DistributionVector.h |
| Include | #include "Distributions/DistributionVector.h" |
Syntax
USTRUCT (NoExport )
class FVectorDistribution
Remarks
Type-safe vector distribution.
Raw distribution from which three floats 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 | Computes the range of the distribution. | ||
| void | LWC_TODO: Precision loss. | ||
| void | GetValue
(
float Time, |
Samples a value from the distribution. |