Lookup table for distributions.
更多...
#include <Distributions.h>
|
|
void | Empty () |
| | Empties the table of all values.
|
| |
|
| FDistributionLookupTable () |
| | Default constructor.
|
| |
| FORCEINLINE void | GetEntry (float Time, const float *&Entry1, const float *&Entry2, float &LerpAlpha) const |
| | Get the entry for Time and the one after it for interpolating (along with an alpha for interpolation) 更多...
|
| |
| void | GetRange (float *OutMinValues, float *OutMaxValues) |
| | Get the range of values produced by the table. 更多...
|
| |
|
FORCEINLINE float | GetValueCount () const |
| | Compute the number of values contained in the table.
|
| |
|
FORCEINLINE float | GetValuesPerEntry () const |
| | Computes the number of Values per entry in the table.
|
| |
|
FORCEINLINE bool | IsEmpty () const |
| | Returns true if the lookup table contains no values.
|
| |
|
|
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.
|
| |
Lookup table for distributions.
Lookup table used to sample distributions at runtime.
◆ GetEntry()
| FORCEINLINE void FDistributionLookupTable::GetEntry |
( |
float |
Time, |
|
|
const float *& |
Entry1, |
|
|
const float *& |
Entry2, |
|
|
float & |
LerpAlpha |
|
) |
| const |
|
inline |
Get the entry for Time and the one after it for interpolating (along with an alpha for interpolation)
- 参数
-
| Time | The time we are looking to retrieve |
| Entry1 | Out variable that is the first (or only) entry |
| Entry2 | Out variable that is the second entry (for interpolating) |
| LerpAlpha | Out variable that is the alpha for interpolating between Entry1 and Entry2 |
◆ GetRange()
| void FDistributionLookupTable::GetRange |
( |
float * |
OutMinValues, |
|
|
float * |
OutMaxValues |
|
) |
| |
|
inline |
Get the range of values produced by the table.
- 注解
- : in the case of a constant curve, this will not be exact!
- 参数
-
| OutMinValues | - The smallest values produced by this table. |
| OutMaxValues | - The largest values produced by this table. |
该结构体的文档由以下文件生成:
- Distribution.h
- Distributions.h