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