Navigation
Unreal Engine C++ API Reference > Runtime > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Distributions.h |
Include | #include "Distributions.h" |
Syntax
class FVectorDistribution
Remarks
Raw distribution from which three floats 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
(
FVector3f* OutMin, |
Computes the range of the distribution. |
![]() |
void | GetRange
(
FVector3d* OutMin, |
LWC_TODO: Precision loss. |
![]() ![]() |
void | GetValue
(
float Time, |
Samples a value from the distribution. |