![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Distribution.h>
Inheritance diagram for FRawDistribution:Static Public Member Functions | |
| static ENGINE_API UObject * | TryGetDistributionObjectFromRawDistributionProperty (FStructProperty *Property, uint8 *Data) |
Public Attributes | |
| FDistributionLookupTable | Table |
Protected Attributes | |
| FDistributionLookupTable | LookupTable |
Raw distribution used to quickly sample distributions at runtime.
|
inline |
Default constructor.
| void FRawDistribution::GetValue | ( | float | Time, |
| float * | Value, | ||
| int32 | NumCoords, | ||
| int32 | Extreme, | ||
| struct FRandomStream * | InRandomStream | ||
| ) | const |
Calcuate the float or vector value at the given time
| Time | The time to evaluate |
| Value | An array of (1 or 3) FLOATs to receive the values |
| NumCoords | The number of floats in the Value array |
| Extreme | For distributions that use one of the extremes, this is which extreme to use |
| void FRawDistribution::GetValue1 | ( | float | Time, |
| float * | Value, | ||
| int32 | Extreme, | ||
| struct FRandomStream * | InRandomStream | ||
| ) | const |
| void FRawDistribution::GetValue1Extreme | ( | float | Time, |
| float * | Value, | ||
| int32 | Extreme, | ||
| struct FRandomStream * | InRandomStream | ||
| ) | const |
| void FRawDistribution::GetValue1Random | ( | float | Time, |
| float * | Value, | ||
| struct FRandomStream * | InRandomStream | ||
| ) | const |
| void FRawDistribution::GetValue3 | ( | float | Time, |
| float * | Value, | ||
| int32 | Extreme, | ||
| struct FRandomStream * | InRandomStream | ||
| ) | const |
| void FRawDistribution::GetValue3Extreme | ( | float | Time, |
| float * | Value, | ||
| int32 | Extreme, | ||
| struct FRandomStream * | InRandomStream | ||
| ) | const |
| void FRawDistribution::GetValue3Random | ( | float | Time, |
| float * | Value, | ||
| struct FRandomStream * | InRandomStream | ||
| ) | const |
|
inline |
| ENGINE_API bool FRawDistribution::Serialize | ( | FArchive & | Ar | ) |
Serialization.
| Ar | - The archive with which to serialize. |
|
static |
Return the UDistribution* variable if the given StructProperty points to a FRawDistribution* struct
| Property | Some UStructProperty |
| Data | Memory that owns the property |
|
protected |
Lookup table of values
| FDistributionLookupTable FRawDistribution::Table |