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