Navigation
Unreal Engine C++ API Reference > Runtime > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Distributions.h |
Include | #include "Distributions.h" |
Syntax
struct FDistributionLookupTable
Remarks
Lookup table used to sample distributions at runtime.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
uint8 | EntryCount | Number of entries in the table. |
![]() |
uint8 | EntryStride | Number of values between entries [1,8]. |
![]() |
uint8 | LockFlag | Lock axes flag for vector distributions. |
![]() |
uint8 | Op | Operation for which the table was built. |
![]() |
uint8 | SubEntryStride | Number of values between sub-entries [0,4]. |
![]() |
float | TimeBias | Absolute time of the first value |
![]() |
float | TimeScale | Time between values in the lookup table |
![]() |
TArray< float > | Values | Values in the table. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Empty () |
Empties the table of all values. |
![]() ![]() |
void | GetEntry
(
float Time, |
Get the entry for Time and the one after it for interpolating (along with an alpha for interpolation) |
![]() |
void | GetRange
(
float* OutMinValues, |
Get the range of values produced by the table. |
![]() ![]() |
float | Compute the number of values contained in the table. | |
![]() ![]() |
float | Computes the number of Values per entry in the table. | |
![]() ![]() |
bool | IsEmpty () |
Returns true if the lookup table contains no values. |