engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Protected 属性 | 所有成员列表
FRawDistribution结构体 参考

Raw distribution used to quickly sample distributions at runtime. 更多...

#include <Distributions.h>

被 FRawDistributionFloat , 以及 FRawDistributionVector 继承.

Public 成员函数

 FRawDistribution ()
 Default constructor.
 
void GetValue (float Time, float *Value, int32 NumCoords, int32 Extreme, struct FRandomStream *InRandomStream) const
 Calcuate the float or vector value at the given time 更多...
 
bool Serialize (FArchive &Ar)
 Serialization. 更多...
 

静态 Public 成员函数

static UObject * TryGetDistributionObjectFromRawDistributionProperty (FStructProperty *Property, uint8 *Data)
 Return the UDistribution* variable if the given StructProperty points to a FRawDistribution* struct 更多...
 

Protected 属性

FDistributionLookupTable LookupTable
 Lookup table of values
 

详细描述

Raw distribution used to quickly sample distributions at runtime.

成员函数说明

◆ GetValue()

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

参数
TimeThe time to evaluate
ValueAn array of (1 or 3) FLOATs to receive the values
NumCoordsThe number of floats in the Value array
ExtremeFor distributions that use one of the extremes, this is which extreme to use

◆ Serialize()

bool FRawDistribution::Serialize ( FArchive &  Ar)

Serialization.

参数
Ar- The archive with which to serialize.
返回
true if serialization was successful.

◆ TryGetDistributionObjectFromRawDistributionProperty()

static UObject * FRawDistribution::TryGetDistributionObjectFromRawDistributionProperty ( FStructProperty *  Property,
uint8 *  Data 
)
static

Return the UDistribution* variable if the given StructProperty points to a FRawDistribution* struct

参数
PropertySome UStructProperyy
DataMemory that owns the property
返回
The UDisitribution* object if this is a FRawDistribution* struct, or NULL otherwise

该结构体的文档由以下文件生成: