UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FRawDistributionFloat Struct Reference

#include <DistributionFloat.h>

+ Inheritance diagram for FRawDistributionFloat:

Public Member Functions

 FRawDistributionFloat ()
 
ENGINE_API bool IsCreated ()
 
ENGINE_API const FRawDistributionGetFastRawDistribution ()
 
ENGINE_API float GetValue (float F=0.0f, UObject *Data=NULL, struct FRandomStream *InRandomStream=NULL)
 
ENGINE_API void GetOutRange (float &MinOut, float &MaxOut)
 
bool IsUniform ()
 
ENGINE_API void InitLookupTable ()
 
bool HasLookupTable (bool bInitializeIfNeeded=true)
 
bool OkForParallel ()
 
- Public Member Functions inherited from FRawDistribution
 FRawDistribution ()
 
ENGINE_API bool Serialize (FArchive &Ar)
 
ENGINE_API void GetValue (float Time, float *Value, int32 NumCoords, int32 Extreme, struct FRandomStream *InRandomStream) const
 
ENGINE_API void GetValue1 (float Time, float *Value, int32 Extreme, struct FRandomStream *InRandomStream) const
 
ENGINE_API void GetValue3 (float Time, float *Value, int32 Extreme, struct FRandomStream *InRandomStream) const
 
void GetValue1None (float Time, float *InValue) const
 
void GetValue3None (float Time, float *InValue) const
 
ENGINE_API void GetValue1Extreme (float Time, float *Value, int32 Extreme, struct FRandomStream *InRandomStream) const
 
ENGINE_API void GetValue3Extreme (float Time, float *Value, int32 Extreme, struct FRandomStream *InRandomStream) const
 
ENGINE_API void GetValue1Random (float Time, float *Value, struct FRandomStream *InRandomStream) const
 
ENGINE_API void GetValue3Random (float Time, float *Value, struct FRandomStream *InRandomStream) const
 
bool IsSimple ()
 

Public Attributes

TObjectPtr< class UDistributionFloatDistribution
 
- Public Attributes inherited from FRawDistribution
FDistributionLookupTable Table
 

Additional Inherited Members

- Static Public Member Functions inherited from FRawDistribution
static ENGINE_API UObjectTryGetDistributionObjectFromRawDistributionProperty (FStructProperty *Property, uint8 *Data)
 
- Protected Attributes inherited from FRawDistribution
FDistributionLookupTable LookupTable
 

Constructor & Destructor Documentation

◆ FRawDistributionFloat()

FRawDistributionFloat::FRawDistributionFloat ( )
inline

Member Function Documentation

◆ GetFastRawDistribution()

const FRawDistribution * FRawDistributionFloat::GetFastRawDistribution ( )

Gets a pointer to the raw distribution if you can just call FRawDistribution::GetValue1 on it, otherwise NULL

◆ GetOutRange()

void FRawDistributionFloat::GetOutRange ( float MinOut,
float MaxOut 
)

Get the min and max values

◆ GetValue()

float FRawDistributionFloat::GetValue ( float  F = 0.0f,
UObject Data = NULL,
struct FRandomStream InRandomStream = NULL 
)

Get the value at the specified F

◆ HasLookupTable()

bool FRawDistributionFloat::HasLookupTable ( bool  bInitializeIfNeeded = true)
inline

◆ InitLookupTable()

void FRawDistributionFloat::InitLookupTable ( )

◆ IsCreated()

bool FRawDistributionFloat::IsCreated ( )

Whether the distribution data has been cooked or the object itself is available

◆ IsUniform()

bool FRawDistributionFloat::IsUniform ( )
inline

Is this distribution a uniform type? (ie, does it have two values per entry?)

◆ OkForParallel()

bool FRawDistributionFloat::OkForParallel ( )
inline

Member Data Documentation

◆ Distribution

TObjectPtr<class UDistributionFloat> FRawDistributionFloat::Distribution

The documentation for this struct was generated from the following files: